Y
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
swirepe
1990 days ago
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?
link
masklinn
1990 days ago
Apparently their answer is “five times”.
link
marcus_holmes
1990 days ago
Well, twice at least.
I don't know why you're all so scared of a little repetition ;)
link