Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zadokshi
on Nov 8, 2019
|
parent
|
context
|
favorite
| on:
Go Turns 10
Language designers: Design a language to not use generics.
timothycrosley: It doesn't do generics!!! Aaargh!!
jeremyjh
on Nov 8, 2019
[–]
Except they didn't. Go has generic maps and slices. It was never their goal to create a language without generics. What happened is they failed to come up with a satisfactory design for user defined generics in time to make Go version 1.
zadokshi
on Nov 9, 2019
|
parent
[–]
Exactly, They didn’t feel it was important. It was not part of the language design.
https://golang.org/doc/faq#generics
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
timothycrosley: It doesn't do generics!!! Aaargh!!