1 Matching Annotations
- Mar 2025
-
cs3110.github.io cs3110.github.io
-
3.9.4. Recursive Variants
Actually, saying that good programers write parametric code may lead to complex code written by juniors. A rule of thumb I tend to teach juniors is that : - 1 copy paste is okay, - 2 is a sign of something wrong, - starting at 3 you must make your code generic.
But starting of with the generic formulation may lead to harder to understand production code.
-