2 ms·
> right up until that happens the community mantra will be: what we have right now is perfect. Where is this mantra emanating from, exactly? Go officially beca
by 9rx 2y ago
> right up until that happens the community mantra will be: what we have right now is perfect.
Where is this mantra emanating from, exactly? Go officially became community driven in 2017. If the community didn't seek this, nobody, especially not the core team, would be working on it. Actions certainly do not support your idea.
> there are still a lot of holdouts who argue it wasn’t necessary.
Of course. Obviously it isn't necessary, or even beneficial, for all programming problems. The software industry is quite broad and developers are working on all kinds of different things. One is only going to speak from their own experience. It is all they know. And I expect error handling is contentious in much the same way because of it being something that crosses many different types of programming areas in different ways.
In fact, despite what may seem contrary to what I said earlier, there are classes of of software problems where you do think about errors differently. For example, letting the program close with a message and letting a human deal with whatever went wrong is a perfect solution to many error-related problems and language constructs that make that easy is wonderful. In those cases the fancy error handling semantics are quite appreciated.
Naturally, my assertion that something like "if err != nil" being the best we've got comes from the type of software I normally find myself needing to write. If you work on different types of problems, you're bound to have a different perspective. Expecting to find agreement here is much like expecting basketball players and baseball players to find agreement about what kind of ball they should share. But there is no need to.
- stouset 2y agoWhen I say “the golang community” I mean “the people online who talk about golang”. I don’t mean the actual maintainers.
- 9rx 2y agoMeaning specifically the comedians of HN? They say things, just like the “detractor” comedians playing the same game from the opposite side of the coin, for sure, but that comedy community is not representative of anything technical. It's abundantly clear where the actual Go community stands on this. They have a visible interest in seeing what can be done; to try and find out if there is a better way. That does not guarantee success, but the desire to try is undeniable.