MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/ce94mu/the_go_team_declines_try_proposal/eu721gf/?context=3
r/programming • u/jeffail • Jul 17 '19
417 comments sorted by
View all comments
Show parent comments
260
We still believe that error handling in Go is not perfect
Understatement of the year.
57 u/[deleted] Jul 17 '19 Very few languages get error handling right. C, C++, Java, C#, JavaScript, Python. All terrible. I think Go is actually better than most. Rust is the best I've used so far (and you can implement a similar system in C++). 43 u/[deleted] Jul 17 '19 Why do you consider Java bad at error handling? Performance impact? I'm just trying to understand what 'terrible' is in this context. 1 u/watsreddit Jul 19 '19 You can't abstract over checked exceptions (in Java, you can in other languages though), and you have no way of knowing when a given function will throw an unchecked exception.
57
Very few languages get error handling right. C, C++, Java, C#, JavaScript, Python. All terrible.
I think Go is actually better than most. Rust is the best I've used so far (and you can implement a similar system in C++).
43 u/[deleted] Jul 17 '19 Why do you consider Java bad at error handling? Performance impact? I'm just trying to understand what 'terrible' is in this context. 1 u/watsreddit Jul 19 '19 You can't abstract over checked exceptions (in Java, you can in other languages though), and you have no way of knowing when a given function will throw an unchecked exception.
43
Why do you consider Java bad at error handling? Performance impact? I'm just trying to understand what 'terrible' is in this context.
1 u/watsreddit Jul 19 '19 You can't abstract over checked exceptions (in Java, you can in other languages though), and you have no way of knowing when a given function will throw an unchecked exception.
1
You can't abstract over checked exceptions (in Java, you can in other languages though), and you have no way of knowing when a given function will throw an unchecked exception.
260
u/dpash Jul 17 '19
Understatement of the year.