Re:Things from Python I'd miss in Go
by pekk on Tuesday June 10, 2014 @11:09AM
(#7872931)
You shouldn't be putting a try-except catchall around every single call in Python. Exceptions mean you don't have to do that.
[ Parent
| on HN ]
Re:Things from Python I'd miss in Go
by moreentropy on Tuesday June 10, 2014 @11:38AM
(#7873146)
For me the most important thing exceptions mean is that they might pop up at any time, with unpredictable types. So as long as I don't have a catch all exception handler wrapped around all code, it might crash at some point.
Re:Things from Python I'd miss in Go
by TheLoneWolfling on Tuesday June 10, 2014 @12:24PM
(#7873498)
Assuming you're talking about unchecked exceptions, correct.
Re:Things from Python I'd miss in Go
by moreentropy on Tuesday June 10, 2014 @06:16PM
(#7875632)
Python doesn't have checked exceptions.
Re:Things from Python I'd miss in Go
by moreentropy on Wednesday June 11, 2014 @09:53AM
(#7877963)
This one really deserved downvoting, great job whoever did that :/