HECK YES C Macro, For When Something Is REALLY True
Quite possibly the most useful macro you will ever use.
#define HECK_YES true && true
// Usage
if(self.sleepy)
{
self.needsCoffee = HECK_YES;
}
Now if only I could replace semi colons with exclamation points…
Tags: c, caffeine, compiler directives, macro
This entry was posted on Thursday, April 15th, 2010 at 2:01 pm and is filed under Code, Nerdyness, Programming.
You can follow any comments to this entry through the RSS 2.0 feed.
You can leave a comment, or trackback from your own site.
Ruby my friend!
HECK_YES = true
self.needsCoffee = HECK_YES! if sleepy?
by far the most syntactically natural language…
hehe