Exceptions in C++ seem like a good mechanic, until you realise they're just goto's... but without the advantage of knowing where you jump to when you throw them... i.e. they're worse than goto's...
Comments
Log in with your Bluesky account to leave a comment
Exceptions can be a very good solution which cleans up a lot of noise and can be surprisingly performant (in both size and speed). But yes, the problem is two-fold: you don't know what to expect to be thrown, and you don't know where its going to be handled. Mostly a tooling problem though.
Comments