DEV Community

Discussion on: Code quality is overrated

Collapse
 
fpuffer profile image
Frank Puffer

I agree that it makes no sense to overdo code quality. As you wrote: The future is uncertain.

But in my experience, most code needs to be maintained. By yourself and by other people. Often years after it has been initially written.

Code does not have to be perfect but you need some minimal amount of quality to be able to maintain and refactor it. And I have to say that most code I have seen so far is below this minimum. Therefore it causes a lot of trouble to many people.

Collapse
 
ross profile image
Ross Creighton

Overall, I agree - I'm a perfectionist by nature and if I had my way my codebase would always be immaculate in every way. Aside from the bare essentials that beginners learn like DRYness, SRP, and variable naming, I think "minimal amount of quality" is a moving target; it depends on the needs of the product and the organization at any given time.