4 ms·
Let the duplication live for a while. You may still make changes to the new code due to new insights and bugs. Make a note or an issue to revisit after a few w
by Manfred 3y ago
Let the duplication live for a while. You may still make changes to the new code due to new insights and bugs.
Make a note or an issue to revisit after a few weeks.
Always refactor when a third or fourth identical case show up.