News for hackers. Stuff that matters.
Re:Practical Guide to Bare Metal C++ by maxlybbert on Friday July 22, 2016 @10:05AM (#12143549)
> But to be clear, my initial thought wasn't about exception handling but rather about ubiquitous use of RAII for all sorts of stuff that needs to get done at the end of a scope.

I agree with you on that. It turns out that, say, having a lock guard automatically release a lock when it falls out of scope can cause a ton of trouble when it falls out of scope in a place the programmer overlooked.

There are no comments on this comment yet.