On a busy week, I make around 10,000 code line changes a day on average. π€―
Am I expected to review all that code? Pf. That is so last year thinking. Or maybe better said, 6 months ago thinking.
No. What I do instead is this:
- I make sure the architecture is clean, efficient, and designed for the problem I am solving. How? I ask the Agent to discuss options, pros and cons, and then I review it carefully to choose the architecture I want π§
- Then I ask the Agent to code while I watch an episode of Friends β
- Then I ask it to review the code and check for mistakes. It always finds 2β3 issues π
- Then I test the application manually, and report issues back to the Agent to fix
- Then I ask the Agent to write tests covering the main use cases, happy path, and the error scenarios I discovered π§ͺ
- Then I tell the Agent: make the code production ready. Simple as that π
- Optionally, I ask it to focus separately on error handling, security, performance, and observability
- Finally, I ask it to run build, linting, and assess the code coverage
I donβt need to review the code anymore. I review the thinking instead. π‘
Originally posted on LinkedIn.