|
|
|
|
|
by ryandrake
146 days ago
|
|
I think reasonable people can disagree about whether C++ exceptions are "good" or not. There are things you can't do easily in C++ without using exceptions, like handling errors that happen in a constructor and handling when `new` cannot alloc memory. Plus, a lot of the standard library relies on exceptions. And of course there's the stylistic argument of clearly separating error-handling from the happy-path logic. I won't argue that it's popular to ban them, though. And often for good reasons. |
|