by eta_carinae · 14y ago · 0 comments
This person doesn't seem to have much experience with error handling.
You shouldn't deal with errors the way you prefer it, you should deal with them the right way. Sometimes, it's where they occur, but very often, it's somewhere up the stack.
We learned this lesson in the 90's.
Accusing the author of this article of being "inexperienced" is also very amusing: http://en.wikipedia.org/wiki/John_Graham-Cumming
And even Java and C++ luminaries like Bruce Eckel have come out in support of Go's error handling and against exceptions.
Try writing a few things in Go. I very much doubt you'll respond like this afterwards.
One new way I've found interesting in obj c is giving functions (an) error handling block argument(s). It nicely does what java unhandled exceptions warnings do: make the user aware of his actions.
Here is a good detailed analysis why exceptions might be a worse choice: http://blogs.msdn.com/b/oldnewthing/archive/2005/01/14/35294...
"I'm sure some people reading this are going to say "But language FrobBub has had NoduleFoos for years cretin!"."
Priceless :-).