Hacker News new | ask | show | jobs
by dicroce 4670 days ago
I don't use exceptions for normal flow. I use them for errors.

While it is true that exceptions create innumerable code paths through a function, RAII makes that manageable. If you're not taking advantage of RAII in your C++ code, you might as well be writing C code.