by sentiental on 1/19/14, 11:50 PM with 48 comments
by Sir_Cmpwn on 1/20/14, 2:38 AM
by f2f on 1/20/14, 2:27 AM
because it doesn't look like it's solving anything, it feels positively ugly, and there's no way we'll every shut those people up no matter how hard we try. there's no generics solution that will do that.
thankfully go's authors don't usually favour the internet's opinion on these matters, or we'd be dealing with something even uglier now.
by rollo on 1/20/14, 3:11 AM
by bvaldivielso on 1/20/14, 2:12 AM
We'll see how the language evolves, but I can't see them coming for a "long" time.
by chimeracoder on 1/20/14, 3:35 AM
It seems to me that there are two disjoint sets of people: those who write Go regularly, and those who complain about generics in Go.
Of course, you can interpret this either way you wish!
1) Perhaps those latter people would like Go despite its lack of generics if they only bothered to get familiar with idiomatic Go.
2) Perhaps the lack of generics is precisely what prevents them from writing Go on a daily basis.
But as someone who actually does write Go on a daily basis, and has for a year and a half, I can honestly say that I've only ever missed them a handful of times. And I say this as a functional programmer who is used to being able to call "map" everywhere.
In fact, if I had to prioritize the things that I wish I could change about Go, generics would not be in the top three - not even in the top five[0]. They're just really something that I don't miss anymore.
[0] I could tell you what they are, but that'd be making it too easy - give Go a shot, long enough to realize you really don't need generics as much as you think you do, and then you'll probably have a good idea of the good, bad, and ugly when it comes to Go.
by fiorix on 1/20/14, 2:20 AM
by mseepgood on 1/19/14, 11:59 PM
by embwbam on 1/20/14, 3:25 AM
by reality_czech on 1/20/14, 5:48 AM