News for hackers. Stuff that matters.
Re:Tell HN: C Experts Panel – Ask us anything about C by smasher164 on Tuesday April 14, 2020 @03:13PM (#22870202)
I would love to see defer in the language. It helps keep cleanup code close to the resource that is acquired.

Would the proposed defer statement apply to loops as well? How would one implement such defers without dynamic allocation?

There are no comments on this comment yet.