2 ms·
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.
by valyala 4y ago
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.
- valyala 4y agoBTW, 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) [1] https://groups.google.com/g/golang-dev/c/V8ez4YunkeE https://groups.google.com/g/golang-dev/c/V8ez4YunkeE