Y
Hacker News
new
|
ask
|
show
|
jobs
by
zadokshi
2408 days ago
Language designers: Design a language to not use generics.
timothycrosley: It doesn't do generics!!! Aaargh!!
1 comments
jeremyjh
2408 days ago
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.
link
zadokshi
2407 days ago
Exactly, They didn’t feel it was important. It was not part of the language design.
https://golang.org/doc/faq#generics
link