Having made this coding error several times myself, this makes me laugh.
Schneier on Security: Torture Bill as C CodeKevin boils down the new terrorist (and others) arrest/detainment/torture bill into a small piece of C code:
if (person = terrorist) { punish_severely(); } else { exit(-1); }There's one obvious error, but there are other problems with the code. Anyone care to comment? (BoingBoing commentary.)
1 comment:
No, that's the way the government wants it. :-) Most citizens would prefer an "==" though.
Post a Comment