|2 points by intrepidhero 7 months, 3 weeks ago | discuss | on: Raise Better Exceptions in Python|
Good point and well made. Does anyone have a good reference for best practices for using exceptions? I feel like usage in the wild, at least in my code base, is kind of all over the map. Sometimes they mean the program dies, sometimes they are more like a glorified return code. Sometimes they are base classes and sometimes subclasses. You can certainly do lots of cool things with them. I'd love to see a well reasoned treatment of how they *should* be used.