News for hackers. Stuff that matters.
Re:Tell HN: C Experts Panel – Ask us anything about C by bokwoon on Tuesday April 14, 2020 @10:14AM (#22866228)
How about deferring until the surrounding block scope ends? In Go you can get around the limitation of defer only executing at the end of a function by wrapping any arbitrary section of code inside an immediately executed anonymous function. But in C I'm not sure that's possible so maybe one could declare a new block scope instead to control when defer kicks in.

There are no comments on this comment yet.