3 ms·
There is no code reuse of small non-generic functions in practice, just duplication and thus ravioli code. And to make these small functions generic costs time.
by AstralStorm 10y ago
There is no code reuse of small non-generic functions in practice, just duplication and thus ravioli code. And to make these small functions generic costs time.
What may make sense is to make something similar to lemma in proofs. This is strictly for ease of debugging or readability.