3 ms·
Extracting common function was right move in your example. The bad move was to add options to common functio instead of changing one caller to call new differe
by watwut 7y ago
Extracting common function was right move in your example.
The bad move was to add options to common functio instead of changing one caller to call new different method.
Even worst move was add more and more options to originally simple method. Just because something was rightfully extracted to common place 10 months ago dies not mean it have to remain in common place. And the need for split does not mean original extraction was wrong.