|
|
|
|
|
by scriptkiddy
3310 days ago
|
|
No, I encourage you to shill in fact. > The reasons Go doesn't (yet) have generics are practical rather than philosophical. And well-documented. Can you give an example? I guess I fail to understand why a statically typed language would choose to forgo all of the advantages generics provide. Does it have something to do with Goroutines? > I also don't believe Google's marketing budget contributed much if anything to supporting Go. I didn't necessarily mean their marketing budget. I should probably edit that. I meant that anything they do is news. |
|
Like I said, the objections are practical, not philosophical:
They published four past design docs for generics in Go that simply didn't pass technical muster (https://github.com/golang/proposal/blob/master/design/15292-...)
Also, rsc stated he plans to understand generics better in 2017: https://research.swtch.com/go2017#generics
Also, bradfitz said recently on the GoTimeFM podcast that doing Generics and Go2 together makes sense.
> I didn't necessarily mean their marketing budget. I should probably edit that. I meant that anything they do is news.
I feel like the comments from others about Dart give the lie to this one. Go is fantastically, dramatically, massively more popular than Dart, which is also from Google.