|
|
|
|
|
by tapirl
1912 days ago
|
|
> Go is at the complete opposite end of the spectrum - not flexible at all, You must be kidding. Go is the flexible one (not one of) in static popular languages. It is even more flexible than many dynamic languages. It supports function types as first-class citizen, closures, value methods as functions, type methods as functions, type deduction, .... IMHO, the main sell point of Go is not simplicity, but overall balance and flexibility: https://github.com/go101/go101/wiki/The-main-sell-point-of-G... > there’s very poor functional programming support, This is true currently, but this is not caused by lack of flexibility, it is caused by lack of custom generics instead. |
|