3 ms·
No passable debugger, weird typing system, verbose error handling, lack of exceptions, generics, syntactic sugar ... I'm a novice at Golang, and I dislike much
by abdusco 5y ago
No passable debugger, weird typing system, verbose error handling, lack of exceptions, generics, syntactic sugar ...
I'm a novice at Golang, and I dislike much of the language, except that it's fast and can produce small binaries.
- Thaxll 5y ago"verbose error handling, lack of exceptions" Exactly why I prefer Go to Java and C#.
- exyi 5y agoUnderstandable, but it's a matter of taste. For people who prefer a language with exception, it's good that there now exist a viable solution other than sticking to a language that might not fit their taste so well. It seems to me that F# could get a bit more love from HN-style nerds. Obviously, it's more similar to C# than Golang, but specifically error handling can be done in much nicer way using the Result type.
- grumpyprole 5y agoBut Go has no sum types either!
- ClumsyPilot 5y agoI can live with many things, but no generics in 2021? Over my dead body!
- TylerE 5y agoSounds like you want nim.
- abdusco 5y agoYeah, nim ticks all the boxes, but the ecosystem around it should grow a bit more until I can develop comfortably with it. vlang[0] also seems like a nice golang "fork" that I'd be willing to spend time on. [0]: https://github.com/vlang/v/blob/master/doc/docs.md https://github.com/vlang/v/blob/master/doc/docs.md
- Tozen 5y agoAs a personal choice, would rather use Vlang than Nim. Like the potential and what I'm seeing from Vlang, though was hoping the cross-platform UI would be further along. As it is, they are developing quite quickly.
- kaba0 5y agoNot wanna bring down that project, but be wary of V, as in the past it has made plenty of impossible to live up to “features” and indeed, never delivered. But I haven’t followed it since then.
- abdusco 5y agoI'm aware of the controversy, and I've been following its development for some time now. It seems to be developed at a neck-breaking pace, but I'm still waiting for an official "go!" license before I start playing with it. I hope they succeed because it has/promises a really attractive set of features.