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

To everyone searching the page for "generics", they're still not there.


You were thinking maybe a gigantic new language feature would show up in the delta from 1.3 to 1.4.

If you follow Golang development, one of the uncanny things about it is how they really seem to nail the release schedule. They say what they're going to do. They say when they're going to be done. Then they do it, and announce their completion.

I think you can safely assume you'll know a ways ahead of time if Golang is suddenly going to become acceptable to people who require parameterized types to adopt a new language.


Pretty sure you just fed and obvious troll, who's account was created 8 hours ago :)


I'm sure you're right; I'm just chasing the little dopamine hit from predicting someone would make a comment about generics and knowing how I would respond.


And yet he's worried enough about internet points to create another account so he won't lose them through down votes.


Most likely they will never be.

I have decided to shut up about them.

Regardless of having generics or not, every line of Go code is a line less of C or C++ with Cisms code, so in a way it is already an improvement.


Bringing in support for code generation as part of 'go build' certainly makes it easier for code generated generics to happen.


They aren't coming before 2.0, if ever. So, why would you look?


Must find something to complain about.


You can fake it if you really want them: http://clipperhouse.github.io/gen/


I remember being so angry at delphi for its lack of generics.... I didn't think this would happen again.


I think you're looking for https://github.com/bouk/gonerics which is generics via the opaque import expressions.


I think the devs have been clear on no need for generics anytime soon. If they do anything like generics its going to be structures and patterns for concurrency related development.


but i searched this page and here they are! ;)


I think you're looking for rust-lang.org


This comment is not helpful. The languages are very, very different.




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

Search: