News for hackers. Stuff that matters.
Re:Should Go 2.0 support generics? by qyv on Monday July 24, 2017 @12:03AM (#14835814)
To offer a counter point: I dislike the idea of "I write generic code". I say this because it is one of the prime calling-cards of the over-abstraction, which IMO is one of the biggest (and most harmful) self-inflicted injuries in programming right now.

Honestly, IMO, 9 times out of 10 the places that developers use templated-types in order to "write generic code", it is an over-abstraction. The generics end up adding nothing but source-code complexity. I often wonder if the only reason generics get used in some situations is because the standard lib uses them.

Re:Should Go 2.0 support generics? by bsaul on Monday July 24, 2017 @03:16PM (#14841702)
end-user code probably doesn't need generic. The issue is much more relevant for librairie and framework developpers though.