|
![](/i/fill.gif) |
On 26-Jul-08 21:39, John VanSickle wrote:
> Chris Cason wrote:
>
>> In the real world, no programmer would ever do something
>> that mean with a macro called TRUE. Right? :-)
>
> There was an entry over at the Daily WTF in which someone posted code,
> written by another person, containing this:
>
> #define TRUE 0
> #define FALSE 1
>
> I swear that I am not making this up.
Probably Unix convention?
http://en.wikipedia.org/wiki/True_(Unix)
http://en.wikipedia.org/wiki/False_(Unix)
Post a reply to this message
|
![](/i/fill.gif) |