3 ms·
One mentor of mine taught me the "rule of three". The first time you have to do something, you write it in-place. The second time, same thing. The third time is
by bcbrown 9y ago
One mentor of mine taught me the "rule of three". The first time you have to do something, you write it in-place. The second time, same thing. The third time is when you refactor into a common module all three components can use.
When you're writing it the second time, you're accruing technical debt. You pay it off when you refactor for the third component.