Re:Bjarne Stroustrup – The Essence of C++ [video]
by vertex-four on Tuesday September 17, 2013 @09:27AM
(#6399105)
Go's defer keyword is good for this. You could also attach a finalizer to the struct, to panic/log in case it's never closed.
[ Parent
| on HN ]
There are no comments on this comment yet.