3 ms·
There are two conflicting rules of thumb floating around here 1. If hasn't changed in a long time and no business requirement on the horizon will force it to c
by patrick451 2y ago
There are two conflicting rules of thumb floating around here
1. If hasn't changed in a long time and no business requirement on the horizon will force it to change, don't refactor.
2. Code is read more than written, so optimize for readability.
(1) can only be followed to the detriment of (2), unless you add the condition that the code is also code which developers never need to read and understand to implement other features.