News for hackers. Stuff that matters.
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.

There are no comments on this comment yet.