I'm sorry, but I don't get this comment. Go is a great programming language! It is great because it is easy to write, read and maintain programs written in Go. This is because of the following features:
- Simple syntax
- Fast compile times
- Great tooling (go fmt, go vet, go too pprof, go tool cover, race detector, ect.)
- Useful standard library
Generics do not improve any of these features :( They complicate syntax, they slow down compile times and they complicate internals of go compiler and tools.
BTW, it is great to see that Go1.20 and the upcoming Go1.21 [1] return to good things instead of generics:
- Performance optimizations (profile-guided optimization, GC optimizations, etc.)
- Reducing compile times
- Reducing binary sizes (improved linker, which can throw away unused code more aggressively)
Re:Go 1.20 Released
by philosopher1234 on Wednesday February 01, 2023 @06:48PM
(#34619928)
I doubt that was very widely read. I think it would be a mistake to attribute much of the adoption to that statement.
Is it a surprise that the low uptake is there with a discouragement like that?