I Wrote It by Hand. The Agent Found My Bug
The riskiest code is the code you are most sure about. Ask the agent to assume it failed, and to prove how with a red test.
Tag
The riskiest code is the code you are most sure about. Ask the agent to assume it failed, and to prove how with a red test.
When the agent fails the same way twice, stop asking for fixes. Ask it to list the assumptions you both share, and verify the cheapest one.
A red test is often the most honest thing in the repo. Before you let an agent make it green, ask it why it is red.
A few months ago I joined a team where nobody writes code by hand and pull requests have thousands of lines. This is what it did to me, what I learned, and what I think we should change.
Humans are bad at repeating the same steps. Computers are great at it. That's why I debug with tests.
Every language starts with the same basics: variables, types, loops, and conditions. Here is how PHP does them.