News for hackers. Stuff that matters.
Re:A Defer Mechanism for C by Animats on Monday December 14, 2020 @06:35PM (#25424901)
Despite being convenient, I have the feeling that it might be a bad idea.

Probably. It's one of Go's lesser ideas.

C already has a "defer" mechanism in "exit", to close out files and such. Of course, the final I/O status gets lost.

There are no comments on this comment yet.