3 ms·
I think Go is popular because of its simplicity and fantastic standard library. It can also feel sometimes like a dynamic language which has attracted people f
by dcu 6y ago
I think Go is popular because of its simplicity and fantastic standard library.
It can also feel sometimes like a dynamic language which has attracted people from ruby, python, JS, etc... communities.
You say there's no place for it in the 21st century, yet it already has a place and it doesn't really need generics to continue living.
- erik_seaberg 6y agoThanks to generics and lambdas, Java's standard library includes concurrent mapreduce. Lacking generics, Go's standard library can't even offer https://golang.org/pkg/sync/#Map https://golang.org/pkg/sync/#Map without sacrificing type safety.
- eeh 6y agoI agree Java streams and concurrent collections are great. I agree Go cannot offer similar things due to a weaker type system. I willingly code Go day-to-day. I miss Java streams, and sometimes the codebase is slightly worse due to the lack of Java streams (or equivalent). I accept a weaker language because I spend less time debating the Right Way to do things (Go is too inexpressive to support a Right Way), and because I can widen my hiring pool from those that know Java, to those that any language, knowing that they can easily pick up Go.