Re:Go proposal: Leave “if err != nil” alone?
by NelsonMinar on Friday June 28, 2019 @01:03PM
(#20306431)
Language support for exceptions are the better way.
[ Parent
| on HN ]
Re:Go proposal: Leave “if err != nil” alone?
by marcrosoft on Friday June 28, 2019 @01:24PM
(#20306679)
Go is successful and popular because it is different from other languages. Most languages have exceptions and from a Go developer's point of view they are terrible.
This is a non-argument really. Someone can easily say that so many things from a non-golang developer's point of view about golang are badly designed.
Re:Go proposal: Leave “if err != nil” alone?
by AnimalMuppet on Friday June 28, 2019 @04:01PM
(#20308294)
Yes and no. "Go users like it" does not imply "therefore it's good", just as "Non-go users don't like it" does not imply "therefore it's bad".
But "Go users like it" does imply "therefore it's not too badly mismatched to what go users are trying to do with it". Likewise, "Non-go users don't like it" implies "therefore it probably isn't a perfect fit for what non-go users are trying to do".