News for hackers. Stuff that matters.
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".
Re:LLVM 7.0.0 released by skybrian on Wednesday September 19, 2018 @11:18AM (#18024759)
What do you mean? Error checking for C is very inconsistent (sentinel values and errno), so surely that's worse?
Re:LLVM 7.0.0 released by simias on Wednesday September 19, 2018 @11:43AM (#18025024)
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.
Re:LLVM 7.0.0 released by knocte on Wednesday September 19, 2018 @11:36PM (#18029577)
Upgrading error handling is great, but Go has the worst approach on doing it.
Re:LLVM 7.0.0 released by skybrian on Thursday September 20, 2018 @12:08AM (#18029711)
Worse than checked exceptions (Java)? How about unchecked exceptions?
Re:LLVM 7.0.0 released by detaro on Wednesday September 19, 2018 @11:16AM (#18024743)
In what way does C not ignore errors?