Re:Yoda conditions
by weberc2 on Thursday August 15, 2019 @09:56AM
(#20705216)
Which is great if your project treats warnings as errors. Not sure how common this is though since every time I compile a C program it’s just pages and pages of warnings.
[ Parent
| on HN ]
Re:Yoda conditions
by emilfihlman on Saturday August 17, 2019 @06:34PM
(#20726859)
Exactly. All code I write must pass -Wall -Werror -Wextra and there's always a debugging phase once you have written the code since there are syntax errors and whatnot, a lot.