|
|
|
|
|
by ngalaiko
1555 days ago
|
|
sure. but usage of generics in go is heavily discouraged both by best practices and by the api generics however are more available to an average gopher i believe that such availability will eventually produce a go version of spring, or a typescript-like type system, or something even worse |
|
I find TS to be pretty great, especially in how you can use the type-system to help you build your code. If your goal is not that, then we'll be aiming for different things.
> is heavily discouraged both by best practices and by the api
On this though, I'm unaware of generics being discouraged? Given they haven't even been released yet, and the amount of effort that's been put into building them, I don't think there's any reason to believe they're discouraged.