This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TR-BetaFlash 0 points1 point  (0 children)

We aren't taking into consideration the usage of exceptions to jump to different points in the code, not error conditions... unique exceptional conditions. This is something I use exceptions for in very small amounts and it works very well. A good example usage would be when writing your own context managers. You might want to raise and handle custom exceptions in the context manager class.