Friday, December 16, 2011

Turing over in his grave

Loved stumbling into this one:
MFC functions declared to return type "BOOL" can return more than 2 discrete values. (example)
Geez, why bother declaring variables as "int" when you can more legibly define them as "BOOL" and then give them thousands of different values? Much easier to read that way...

No comments:

Post a Comment