News for hackers. Stuff that matters.
Re:Go 1.3 beta 1 released by obilgic on Tuesday April 22, 2014 @10:43PM (#7631784)
generics please?

    contains no language changes
Re:Go 1.3 beta 1 released by tptacek on Tuesday April 22, 2014 @10:46PM (#7631805)
My guess is you'll probably know a year in advance if that's actually going to happen.
Re:Go 1.3 beta 1 released by rockybox on Tuesday April 22, 2014 @10:50PM (#7631819)
It took Java 5 versions over 8 years to get generics. It's not going to happen in a minor release.
Re:Go 1.3 beta 1 released by coldtea on Wednesday April 23, 2014 @08:35AM (#7633531)
Yes, but Java was left behind and ate C#'s dust (and now Scala's) because of lack of progress like that.

Not the best example to justify adding generics late.

Re:Go 1.3 beta 1 released by pjmlp on Wednesday April 23, 2014 @02:37AM (#7632506)
Stop using Java and C++ for comparing generics in Go. There are lots of languages that had generics on day one.
Re:Go 1.3 beta 1 released by mseepgood on Wednesday April 23, 2014 @02:53AM (#7632553)
And all of them will stay in a niche because of their complexity (Scala, Haskell, D, ...).
Re:Go 1.3 beta 1 released by coldtea on Wednesday April 23, 2014 @09:06AM (#7633671)
Complexity? It's 2014 already.

Nothing complex about generics that the average modern day programmer can't grasp. We're not talking about some '00s enterprise drones that were never exposed to those concepts.

People used to talk like this about closures in Java too -- "too complex, who needs them", etc. Didn't turn out very well for the language's mindshare about the new generation of programmers...

Re:Go 1.3 beta 1 released by sigzero on Wednesday April 23, 2014 @08:56AM (#7633619)
> all of them will stay in a niche <

C# has had generics since 2.0, so ALL is a bad choice of words there.

Re:Go 1.3 beta 1 released by pjmlp on Wednesday April 23, 2014 @12:15PM (#7634918)
Actually C# already had generics even before the 1.0 .NET release, but they weren't considered stable enough for a 1.0 release and priority was given to other parts of the .NET.

One of many posts about generics history in .NET:

http://blogs.msdn.com/b/dsyme/archive/2011/03/15/net-c-gener...

Re:Go 1.3 beta 1 released by frou_dh on Wednesday April 23, 2014 @04:50AM (#7632899)
What's the casual definition of complexity? Stuff in here I don't like?

Honestly, in the medal positions for sloppily expressed programming sentiments, complex/simple occupy the bronze/silver positions just behind the ultimate... "elegant".

Re:Go 1.3 beta 1 released by pjmlp on Wednesday April 23, 2014 @12:17PM (#7634941)
The complexity was not the issue, CLU, Ada, Eiffel, Sather, Modula-3, ML, and many others lacked the publicity stunt of having a godfather like Google.
Re:Go 1.3 beta 1 released by LanceH on Wednesday April 23, 2014 @10:23AM (#7634107)
And during all that time they were telling us we didn't need them.
Re:Go 1.3 beta 1 released by burke on Tuesday April 22, 2014 @11:50PM (#7631982)
I think it's safe to say that'll be 2.0, 3.0, or never -- not a point release.
Re:Go 1.3 beta 1 released by bsg75 on Wednesday April 23, 2014 @01:09PM (#7635347)
If you need generics, Go is not the language you need.
Re:Go 1.3 beta 1 released by voidlogic on Saturday April 26, 2014 @12:36PM (#7651940)
In reality of people just don't know how to program without generics. Go provides interfaces which can be used to write generic code. Think of everything that has been written in C without generics or Java pre 1.4.

I'm all of the day generics is finely added (and yes I missed it a lot when I was new to Go a couple years ago), but it is much less of a issue then some people make it out to be.

Re:Go 1.3 beta 1 released by bsg75 on Monday April 28, 2014 @02:34PM (#7661965)
I don't doubt that generics are very useful, but its a problem when every thread that mentions Go gets polluted by bitching from people who can't code without them.

I work with SQL mostly, and in find common table expressions very useful to simplify and (in some cases) enhance performance. When faced with a choice between MySQL and PostgreSQL, I could either 1) choose to gripe about the lack of CTEs in MySQL, or 2) use PostgreSQL.

Something about generics make so many people on HN choose the equivalent of (1).