Re:LLVM 7.0.0 released
by knocte on Wednesday September 19, 2018 @11:01AM
(#18024630)
I disagree, Go ignores errors by default. No sane C dev would accept that as an "upgrade".
[ Parent
| on HN ]
What do you mean? Error checking for C is very inconsistent (sentinel values and errno), so surely that's worse?
I think they mean that C coders have wrestled so much with the language's terrible error handling mechanics (or lack thereof) that it's probably one of the first thing they'd want fix when "upgrading" languages. I would tend to agree.
Upgrading error handling is great, but Go has the worst approach on doing it.
Worse than checked exceptions (Java)? How about unchecked exceptions?