Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
baq
· 9y ago · 0 comments
yeah but better because you don't break the world if you add a new exception to a public method.
Comments
[–]
concede_pluto
9y ago
Declaring that every method throws Exception doesn't break the world any more than every Go function returning an argument of type error. You're intentionally saying pretty much anything could go wrong and nobody can plan ways to recover.