|
|
|
|
|
by tel
4291 days ago
|
|
The point of generic code is not purely that it's easier to re-use. The almost more important fact is that generic code has less information about its inputs and outputs—this leads to a smaller design space and, consequently, an easier time designing the implementation and an easier time avoiding bugs. |
|
Saying having less information about the data makes for easier coding is almost always not true.