|
|
|
|
|
by ed25519FUUU
1990 days ago
|
|
I'm really mixed about this. As a developer I would love having generics in Go. I can think of a few places in my code I can greatly simplify if they were implemented now. However, as someone who reads other people's Go code, I'm not a huge fan. One of the greatest things about Go is that a developer can usually one-shot read and understand almost anybody's code because there's a simplicity "forcing-function" applied to everything. To lose that would be a shame. |
|
you know what's hard to read? hand-rolled for loops & select blocks combined to wrangle concurrency.
the no1 benefit of parametric polymorphism in Go is going to be abstracting over concurrency