4 ms·
Anyone else feeling put off by golang? The syntax, the crazy error handling, etc. To me it's like taking a step back in programming, or actually 20 years back.
by playingalong 4y ago
Anyone else feeling put off by golang? The syntax, the crazy error handling, etc.
To me it's like taking a step back in programming, or actually 20 years back.
Not better than Java (which is annoyingly verbose), maybe better than Pascal.
- another_devy 4y agoJava is in middle or to the end of userspace, it is verbose and less opinionated. Golang is very close to systems programming hence very opinionated, you can easily build API applications with it but that’s the most non system engineering you can get out of it. The error handling is probably the best design I feel from language that’s in category of c, c++
- playingalong 4y agoGolang tend to be used for application programming these days. Not only system works. Including today's top page article.
- wting 4y agoYes, but in the end it's because people who like Go because they prioritize a certain set of features (language, community, ecosystem, etc), and those who prefer non-Go languages prioritize other features. I don't like Go personally, but I have advocated for Go to be used in many situations depending on context. It's unproductive to start a language war here since it's generally situation-dependent.
- flippinburgers 4y agoError handling at worst is an annoyance. The syntax? You will get used to it. Everyone has to adjust to every syntax whenever they learn a new language whether they realize they are or not.
- icedchai 4y agoI like Go's tooling, but I am consistently put off by the language. It's best described as "meh."
- benibela 4y agoAs someone writing all my code in Pascal, I feel offended Pascal had exceptions for error handling and got generics before Go