Hacker News new | ask | show | jobs
by marcus_holmes 1990 days ago
Agreed. I'll be banning generics from any code I have control over unless there's a very good reason for it. I saw too much of this crap in C#, and ran from it screaming.
1 comments

Say you need a binary heap to hold some customer records, and another binary heap to store some orders. How many times do you implement a binary heap?
Apparently their answer is “five times”.
Well, twice at least.

I don't know why you're all so scared of a little repetition ;)