Python exceptions considered an anti-pattern
It amazes me how enduring formulaic it is to single out some particular design tradeoff of a language, draw up some examples of expressing something where that tradeoff creates worse code, and then act like it&#x27;s some mortal flaw in the language.<p>Python chose untyped exceptions, period. How is this surprising, given that its basis is untyped parameters?<p>If you don&#x27;t like that, use Java with its checked exceptions. Or remove exceptions from the implicit monad altogether and use C or Rust. Just don&#x27;t then go on to write some lengthy post about how any one of those is too explicit.