3 ms·
I suppose it depends on the level of understanding that you want from your code. Generics introduce another dimension which you have to think about when you wan
by zimbatm 11y ago
I suppose it depends on the level of understanding that you want from your code. Generics introduce another dimension which you have to think about when you want a good level of control on allocations for example. Different data types also have different optimizations available which could be missed when blindly relying on the generic algorithm (think sorting on a fixed set for example)