News for hackers. Stuff that matters.
Re:A Short Cautionary Tale About Refactoring by jacquesm on Sunday March 21, 2021 @06:39AM (#26529470)
Precisely that.

This isn't refactoring per-se it is focusing on the cosmetics of the code at the expense of functionality. There are many other reasons why an inlined image may have been appropriate and the author overruled all possible concerns by going for replacing a large block of 'ugly red' by a smaller block 'pretty green', which is a very bad reason to make a change in functionality, especially without understanding what is going on.

There are no comments on this comment yet.