top | item 45858405

(no title)

do_not_redeem | 3 months 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.

discuss

order

lelanthran|3 months ago

> 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)

0x696C6961|3 months ago

C is actually getting defer!