News for hackers. Stuff that matters.
Re:Will Go be the new go-to programming language? by emu on Thursday September 13, 2012 @10:59AM (#4516444)
I have to agree that the lack of generics is one of the biggest holes in Go.

Common container data structures are one example. You can't write, say, a generic binary search tree in Go, unless you wrap all your data in an interface. While possible, this means you have to downcast all over the place.

The built-in map, while useful, is limited in how far it goes.

Maybe I'm just spoiled by the STL and the Java collections libraries.

There are no comments on this comment yet.