6 ms·
If anything generics will make go code simpler. No more copy pasting everywhere and the possibility of making useful collection methods like map, filter and re
by aptenoforst 5y ago
If anything generics will make go code simpler.
No more copy pasting everywhere and the possibility of making useful collection methods like map, filter and reduce.
- barsonme 5y agoMore concise, yes. Simpler? Maybe[0]. And for the record, I'm mostly in favor of adding generics to Go. [0]: https://talks.golang.org/2015/simplicity-is-complicated.slide https://talks.golang.org/2015/simplicity-is-complicated.slid...
- sascha_sl 5y agoIt also depends on your use case. Kubernetes and its pile of code generators will be much much simpler.