GOTO Considered Totally Sick (for error handling in C)
0 comments · c
- Comments13
0 comments · c
Story details from Lobsters ↗ · linked article on thestateofinahaze.net.
GOTO Considered Totally Sick (for error handling in C) was first seen by Trendoday on Oct 28, 2026. Since then it has appeared in 76 checks on 5 different days. It reached #4 on Lobsters · Hottest on Oct 28, 2026 UTC. It was last seen on Lobsters · Hottest on Nov 1, 13:21 UTC.
Best recorded rank on Lobsters · Hottest per UTC day.
Best rank per day (UTC).
A few top-level comments from Lobsters, shortened. Read the full thread on Lobsters.
C is getting a Zig-like defer feature https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3928.pdf Worth noting that Golang’s defer is different from the Zig/C version: in Golang defer is scoped to a function, whereas in Zig and C it is scoped to a block. If you defer in a loop, Golang will build up an unbounded amount…
Kids these days think they invented psychedelics, bisexuality, and using gotos in C...
For what it's worth, defer ends up (IMO) not cleaning up the code that much. It got standardized partly because everyone was already inventing their own versions of it with compiler extensions, so the standards committee had to chose between the language having it in a standard form or a nonstandard form. (I attended…
Archived daily, weekly and monthly lists that include this entry.
Not at the moment. Its last recorded appearance was on Nov 1, 13:21 UTC.
#4 on Oct 28, 2026 UTC.
It was first seen on Oct 28, 2026 and has been on the list on 5 days (76 checks) since.