Re:Good-bye core types; Hello Go as we know and love it
by bee_rider on Wednesday March 26, 2025 @04:25PM
(#43486866)
To be fair, though, error handling is terrible in every language, independent of how much the designers think about it.
[ Parent
| on HN ]
Re:Good-bye core types; Hello Go as we know and love it
by kibwen on Wednesday March 26, 2025 @06:30PM
(#43488212)
Let's not flirt with false equivalences. I've seen languages that do error handling worse than Go. I've also seen languages that do better.
Re:Good-bye core types; Hello Go as we know and love it
by XorNot on Wednesday March 26, 2025 @05:40PM
(#43487677)
Seriously. For the amount people glaze Rust on HN, error handling when you actually try to use Rust is overtly discussed as "oh yeah it's completely broken, most people try to replace the whole thing..."
Re:Good-bye core types; Hello Go as we know and love it
by vlovich123 on Wednesday March 26, 2025 @07:19PM
(#43488631)
Huh? I find error handling in Rust to be quite nice to use. You do probably want to use thiserror to make it easier to define the Error type for your crate, but other than that it's super smooth IMO.