Which is nowhere near as good, as the closing operation has to be setup explicitly. Go has the same issue with `defer`.
http://www.d-programming-language.org/exception-safe.html
Scope guard has a number of distinct advantages.
Which is nowhere near as good, as the closing operation has to be setup explicitly. Go has the same issue with `defer`.