News for hackers. Stuff that matters.
Re:Postmodern Error Handling in Python 3.6 by crdoconnor on Saturday February 25, 2017 @11:50AM (#13732349)
>I often find myself using "except Exception", while I don't like it, I cannot find another way.

This (pokemon exception handling) is a massively, massively destructive anti-pattern.

Once a code base grows beyond a certain size it usually leads to failures which manifest themselves with strange behavior that takes hours (sometimes days) to track down the real source of.

There are no comments on this comment yet.