Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>The Go team is open to generics as soon as there is a proposal they feel fits right without performance penalties.

Because using interface{} for the same tasks fits so much better and has so much better performance right?

Tons of languages have implemented Generics -- it's not rocket science since at least 2 decades.

If the Go team is not interesting in working on the thing, then I doubt they would be really evaluating any "proposal".



I think Generics are just low priority for the Go team. Maybe we will see them in Go 2.0

>>tons of languages have implemented Generics -- it's not rocket science since at least 2 decades.

Sure, but that doesn't mean there are not concerns about the way it is often implemented: http://research.swtch.com/generic




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: