by otabdeveloper4 · 3y ago · 0 comments
Sorry you were misled, but programming is, indeed, hard, and no, you can't go shopping instead.
Exceptions are a particular technique for dealing with errors in general, that can be used for both unrecoverable and recoverable errors. They infamously trade programmer convenience for hard to understand bugs, fragile run-time behavior and unmaintainable code.
Fragile run-time behavior and unmaintainable code is because programming is hard and cruft accumulates in the face of difficult requirements.
Renaming a thing that traumatized you in the past won't make the cause of the trauma go away.
So exactly like C++ exceptions then?
Obviously this is not something you're encouraged to do often, but there's applications where it might be reasonable.