4 ms·
See XKCD comic : ) I would disagree that "generalized" equates to simple. Generalized means generic and usually abstract. - https://en.wikipedia.org/wiki/Rul
by seadan83 4y ago
See XKCD comic : )
I would disagree that "generalized" equates to simple. Generalized means generic and usually abstract.
- https://en.wikipedia.org/wiki/Rule_of_three_(computer_programming) https://en.wikipedia.org/wiki/Rule_of_three_(computer_progra...
- https://blog.codinghorror.com/rule-of-three/ https://blog.codinghorror.com/rule-of-three/
"It is three times as difficult to build reusable components as single use components"
I think implicit in the point, most code does not go on to be used thousands of time (let alone dozens or even more than once). Even if some code is used more than once, making it the same and shared has significant costs as well.
- Buffout 4y agoNever said it is easy to build simple reusable code. Code itself must be simple but process behind devising it may not be. If the code is not simple it is more prone to error.