3 ms·
As someone working at google, I had never written go code, but I had read quite a bit about how how people didn't like it on places like hn. My impression was t
by jeremysalwen 7y ago
As someone working at google, I had never written go code, but I had read quite a bit about how how people didn't like it on places like hn. My impression was that even though personally I would strongly prefer a more typed language like rust, the deficiencies of go were probably overblown.
Then I recently had to write a small amount of go code... and I found out that go doesn't support enums....... what??? Just blew my mind.
- 0xFACEFEED 7y agoThere's a huge discussion here, if you're interested: https://github.com/golang/go/issues/19814 https://github.com/golang/go/issues/19814 TBH I thought adding enums was a cut and dried case until reading through some opposing opinions. Now I'm not so sure.
- stouset 7y agoIn other words, go has somehow managed to shoehorn themselves into a language so rigid that adding pretty basic correctness features comes with serious downsides. This is not a selling point for the language.