9 ms·
I guess it's become trendy to hate on Go in this forum, so I'll offer a counterpoint. Being a relative newcomer to the language, transitioning from Python circ
by imiric 4y ago
I guess it's become trendy to hate on Go in this forum, so I'll offer a counterpoint.
Being a relative newcomer to the language, transitioning from Python circa 2016, I've found it a joy to use. The simplicity of the spec, the true "one way to do it" philosophy, the way it forces you to simplify and avoid cleverness (yes, sometimes at the expense of verbosity, which only makes things clearer, and rarely tedious), the great crossplatform support, stdlib, and tooling around it, and many more features, have made it my favorite language.
Yes, there are still some warts and odd design decisions, but those are far outnumbered by the good things about it. Most of the issues are related to Go's team unwavering dedication to backwards compatibility, which is respectable. The fact we got generics in v1 is incredible. I can't wait for what v2 will bring, without the shackles of backwards compatibility.
This errors feature in 1.20 is neat, but I'm much more excited for context cancellation reasons[1], which will hopefully be released soon as well. That should greatly simplify debugging, and avoid the common generic "context canceled" errors.
[1]: https://github.com/golang/go/issues/46273 https://github.com/golang/go/issues/46273
- fideloper 4y agoLooks like that specific issue / change wasn't accepted, but this[1] alternative will be. That seems like a great change to me. [1]: https://github.com/golang/go/issues/51365 https://github.com/golang/go/issues/51365
- vlunkr 4y agoThe conversation around Go on HN is as broken as a political discussion on Facebook. It’s pathetic.
- kaba0 4y agoI think “go haters” bring up plenty of valid points, unlike.. unfortunately any discussion on facebook.
- vlunkr 4y agoThe post is about a new feature related to errors, the top comment is the same old complaint about verbose error handling, which is only tangentially related. I wouldn’t consider that quality discussion.
- liveoneggs 4y ago> transitioning from Python ... the true "one way to do it" philosophy I love this :)
- metaltyphoon 4y ago> I can't wait for what v2 will bring There is no such thing as V2