News for hackers. Stuff that matters.
Re:C: Simple Defer, Ready to Use by armitron on Monday January 06, 2025 @04:53PM (#42616384)
35 years of coding C don't amount to much if you ignore best practices. Look at the Linux kernel to learn how gotos can be used to make the code safer and improve clarity.

There's probably something wrong if a substantial project in C does NOT use gotos.

Re:C: Simple Defer, Ready to Use by John_Cena on Monday January 06, 2025 @08:59PM (#42618370)
Would any particular piece of the kernel stand out to you in this manner? Last time I looked I didn't think too much about it being used.