The Author of Clean Code No Longer Reviews AI-Generated Code Robert Martin, author of Clean Code, tweeted that he no longer reads code written by his AI agents, relying instead on extreme constraints such as unit tests, gherkin tests, QA procedures, quality metrics, mutation testing, and test coverage to ensure high confidence in the code's quality. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 34 points by | Tweet URL: https://x.com/unclebobmartin/status/2080257779395154409?s=20 Robert Martin, the author of Clean Code, tweeted the following: I’m significantly older than you. I started coding in the late 60s. My current strategy is to not read any of the code written by my agents. That’s the only way I can take advantage of their productivity. What I do instead is to surround the agents with extreme constraints. Unit tests, gherkin tests, QA procedures, quality metrics, mutation testing, test coverage, and a plethora of others. In the end, I have very high confidence in the code they produce because they’ve had to run the gauntlet of all of my constraints and tests. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Applications are open till July 27. |