DEV Community

Discussion on: Yet another reason to prefer unit tests 😇

Collapse
 
jimpriest profile image
Jim Priest

Agree. This is much more difficult with a spaghetti/legacy project :)

The other dilemma is while the developer may want to refactor something - that time/cost has to be factored in somewhere and often it's a difficult to sell to the client: 'if it ain't broke don't fix it...'