logoalt Hacker News

osigurdsontoday at 1:24 AM2 repliesview on HN

If you know any other language, you basically already know Go (with the exception of the channels stuff). The biggest pain is the if err != nil stuff, which I know some people like but it is suboptimal in my view. While far better than C# and Java's exceptions, far worse than Zig's model.


Replies

throwaway2037today at 3:21 AM

    > far better than C# and Java's exceptions
What is wrong with them? When writing enterprise CRUD apps, they are very useful.
show 1 reply
pjmlptoday at 8:51 AM

Yeah, panic/defer/recover are so much better. /s