Re:Ask HN: What piece of code/codebase blew your mind when y...
by dividuum on Monday October 31, 2022 @07:18PM
(#33414726)
Reminds me of this classic post: https://thedailywtf.com/articles/What_Is_Truth_0x3f_
Now, if it had been declared int, I would probably have been on the lookout for it using something other than 1 or 0 as an error condition, but why bother to explicitly invent a BOOL type and then abuse it that way?