News for hackers. Stuff that matters.
Re:Both true and false: a Zen moment with C by reacweb on Wednesday June 27, 2012 @04:00PM (#4168943)
good old C compilers did not have the bool keyword and did not have this silly undefined behaviour. Standardisation committees should understand that the quality of a standard is inversely proportional to its length.
Re:Both true and false: a Zen moment with C by pmjordan on Thursday June 28, 2012 @05:03AM (#4170835)
I'm guessing you missed the MySQL security vulnerability the other week? That was caused precisely by the lack of a proper boolean in older versions of C and an innocuous-looking workaround.