2 ms·
It seems to me that referencing Code Complete's exhortation to fix the underlying cause of a problem actually supports refactoring. In my experience, the most
by harimau777 7y ago
It seems to me that referencing Code Complete's exhortation to fix the underlying cause of a problem actually supports refactoring. In my experience, the most common cause of bugs is code that was either poorly designed, doesn't follow principles such as immutability and functional purity, or where time wasn't taken to make it simple. In these situations, refactoring is how you fix the root problem.