News for hackers. Stuff that matters.
Re:Practical Guide to Bare Metal C++ by erichocean on Thursday July 21, 2016 @09:36PM (#12141192)
> exceptions are features of C++ that I never see used in real-world C++

Well, I use exceptions in exactly one situation: my request handlers on the server are all one-shot, transactional, and throwing anywhere unwinds to the top of the stack, aborts the transaction, and results in an error message being returned to the caller.

For that specific use case, I find exceptions cleaner than any other approach I've tried. Otherwise, I avoid them as well.

Re:Practical Guide to Bare Metal C++ by pmelendez on Friday July 22, 2016 @12:17PM (#12144478)
Do you work for a Foreign Exchange company? We used it exactly for the same scenario at a previous employer.
Re:Practical Guide to Bare Metal C++ by erichocean on Friday July 22, 2016 @02:47PM (#12145772)
I do not, but thanks for the info I'm not the only one!