Re:How to reduce the cognitive load of your code
by JoeAltmaier on Tuesday March 29, 2016 @05:12PM
(#11384915)
A rewrite is a different animal than writing new code. The problem with rewrites is the marginal utility is a diminishing return. Unless the code is really bad, or will require very frequent revisits.
Re:How to reduce the cognitive load of your code
by mathattack on Tuesday March 29, 2016 @05:15PM
(#11384939)
I think the best practice is to just refactor the bits that you need to touch. At a minimum avoid leaving them worse, and in an ideal world leave each piece you touch better for your having looked at it.
So do I spend more time refactoring and bringing this application to a decent state, or do I just keep on hacking more crap on to it? No one except for me seems to give a shit as long as it seems to be working.