News for hackers. Stuff that matters.
Re:Why RAII rocks by EpicEng on Friday April 24, 2015 @02:47AM (#9431763)
Agree with @czinck. It works, it does the job, but it's not as fool proof as:

    {
        Type obj;
        // do stuff
    }
    // obj destructor just ran
C# and other languages have similar paradigms, but they require more attention to detail than a destructor does.

There are no comments on this comment yet.