Re:Emulating Swift's “defer” in C, with Clang or GCC+Blocks
by duaneb on Saturday October 10, 2015 @04:40PM
(#10366913)
I don't think that hacker news is all about one thing.
Furthermore, it's fun to play with this, but it is undeniably not c. If you have access to clang everywhere (or gcc w/ blocks) and you're OK with the tradeoffs, have at it. :)
Furthermore, it's fun to play with this, but it is undeniably not c. If you have access to clang everywhere (or gcc w/ blocks) and you're OK with the tradeoffs, have at it. :)