News for hackers. Stuff that matters.
Re:Humans should think of sizeof() as a function, says Linus... by barrkel on Saturday May 30, 2015 @09:59PM (#9632702)
I agree with you - I can count the number of times I've seen it in my life on one hand - but ever since the Apple bug, lots of people use it as a club to hit people over the head with, to enforce braces everywhere.

There seems to be a logical error to me. An indentation mistake - something that can be caught trivially by a linter - is not significantly different by nature than any other single-character mistake, like an incorrect constant or misspelled identifier (harder to find with a linter). But because it was at the root of a specific flaw, it's become larger than life.

There are no comments on this comment yet.