Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Errors should never pass silently | Better HN
Errors should never pass silently
(pybit.es)
1 points · by
bbelderbos
· 9y ago · 1 comment
Comments
[–]
osullivj
9y ago
Agreed. except: pass is a major bad smell in any Python codebase, just as catch (...) is in C++. The higher up the stack you are the worse it is. A top level event loop with catch (...), maybe dispatching events, is a major red flag.