News for hackers. Stuff that matters.
Re:A Programming Idiom You've Never Heard Of by WalterBright on Thursday January 05, 2012 @03:16AM (#3427928)
The various tradeoffs between try-finally, RAII, and scope guard is discussed here:

http://www.d-programming-language.org/exception-safe.html

Scope guard has a number of distinct advantages.

There are no comments on this comment yet.