why
RUBYFAGS GET OFF MY C
REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
Looks like a 17 year old "clever" programmer wrote it, who will be unemployed in 5 years due to thinking he's too smart to learn anything new.
>>62007446
it's written by a Cornell ECE professor for AVR
>>62007526
who will be unemployed in 5 years for refusing to learn anything new.
>>62007062
ok lets start a define thread#define true 1
#define false 2#define true 1
#define false 2
>>62007526
Academics were mistake
>>62007062
What's wrong with that? If something like this drives you nuts I can't imagine what you'll do once you actually start working and see the code styles some companies use
https://research.swtch.com/shmacro
http://oldhome.schmorp.de/marc/bournegol.html
http://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/sh (source)
Don't ever forget the classic, the Bourne Shell.
>>62008093
Or even more subtle#define true -1
>>62008093
Makes sense in a situation where 0 == null and you explicitly want to test whether something is false.
>>62007062
Apparently typing 4-5 characters is more efficient than a single open/close curly brace.
>>62007526
If it is code for education, it might make it easier to skim and to look for potential issus. Also, maybe the guy has his background in diffrent languages.
I mean don't get me wrong, I agree with OP on why.....