Hacker News new | ask | show | jobs
by voidlogic 4788 days ago
>>The Go authors have repeatedly stated that they will not be implementing generics.

Not so http://golang.org/doc/faq#generics; "This remains an open issue." In the discussions I have read, if an implementation of generics is proposed that doesn't sacrifice performance and it truly generic, they are open to it.

What I have seen said is that implementing generics was not on the table for 1.1 or maybe even 1.x

1 comments

>In the discussions I have read, if an implementation of generics is proposed that doesn't sacrifice performance and it truly generic, they are open to it.

Sounds like weasel speak for "take a hike and leave us alone".

Or maybe professor speak for freshmen Johnny who thinks he as an answer to the the Halting problem...

But in all seriousness they are interested in implementing generics, just not in a hurry to do it. It doesn't seem unreasonable to me to label it a low priority feature compared to other things they have added to Go. Java got along just fine before generics (which are arguably poor) and C still gets along fine without them. The Go authors are saying, lets add Generics when we are all happy about the solution and feel we are going to get it "right".