Hacker News new | ask | show | jobs
by gregjor 613 days ago
Can you define and measure "code quality?" If not how can you say it improves?

Even granting your point, the things you list that supposedly improve code quality -- discipline, taking risks -- come under the "skills" heading in my understanding.

> I dont think Ive ever seen clean code that didnt make use of something at the very least resembling both exhaustive CI/CD and TDD

Yet almost all of the code ever written, including very successful long-lived things like Unix, the C standard library, Oracle, etc. got written before CI/CD and TDD. I don't have a definition of "clean code" to judge by, but I have certainly worked on lots of readable and maintainable code that did not come from TDD or CI/CD processes.