News for hackers. Stuff that matters.
Re:Everyday hassles in Go by lmm on Tuesday December 30, 2014 @02:37PM (#8816271)
> How can sort be considered generic. Every type must be sorted by different stuff, the compiler can't possibly know what that stuff is.

What. Have you even used a language with generics? Yes it can, very easily; you can do it in a traditional-OO way by having a sortable interface, or if you want to be really cool you do it with a typeclass.

There are no comments on this comment yet.