Re:Go at Google: Language Design in the Service of Software ...
by electrograv on Wednesday December 05, 2012 @12:04AM
(#4874958)
It's been a while since I've used Java too, but I don't remember it requiring try..catch around ALL code. If you don't catch immediately, it defers the error to somewhere up the stack. This is what I meant by "ignoring" exceptions being the default behavior.
[ Parent
| on HN ]
Re:Go at Google: Language Design in the Service of Software ...
by burntsushi on Wednesday December 05, 2012 @03:34AM
(#4875450)
Shoopy gave the key term: checked exceptions. Your grandparent criticized unchecked exceptions, and gave praise to Go error handling for features found in checked exceptions.
There are obviously still non-trivial differences between checked exceptions and Go's error handling, but they aren't as world shattering as unchecked exceptions.