DEV Community

Discussion on: What's your favorite software idiom/aphorism?

Collapse
 
ryansmith profile image
Ryan Smith

I think it depends on the situation, refactoring for the sake of it may not be worth the effort. If it works and you won't have to touch it or worry about its performance, it can be left alone. If it is a commonly used piece of code and it is causing problems when building features, then that is a good time to refactor it.

Thread Thread
 
imedacf profile image
imedacf

Ofc, it depends, but I would build my mind around refactoring the bad code, rather then thinking not to touch it, unless its broken 😄