Hacker News new | ask | show | jobs
by do_not_redeem 217 days ago
Not a single mention of defer? There's no way I'll ever go back to writing goto towers.

Yes, I'm aware that some specific C toolchains have nonstandard extensions that accomplish the same thing, but if you lock yourself into one of those, the "Portability and Presence" section (and really, the first 20% of the article) goes out the window.

2 comments

> Not a single mention of defer? There's no way I'll ever go back to writing goto towers.

What's a goto tower?

(Repeating sibling post, `defer` is in the works for C as well)

C is actually getting defer!