Re:Go Developer Survey 2022 Q2 Results
by klodolph on Thursday September 08, 2022 @03:03PM
(#32770421)
> [...] and similarly aren’t worried about differentiating error cases.
I differentiate error cases in Go, so I'm not sure what you're talking about. Sometimes it's done with ==, other times it's done with type assertions, type switches, and some helper functions in the errors package.
I've barely touched Zig.
I think it's contributing some important ideas, and maybe those ideas will get further developed in newer languages.
What do you think of adopting Zig’s error handling approaches to Go?