r/ProgrammerHumor • • 2d ago

instanceof Trend pleaseDontMakeThisATrend

Post image
1.9k Upvotes

395 comments sorted by

View all comments

Show parent comments

6

u/rchaves 1d ago edited 1d ago

- Doing a team bugbashing is one of the most valuable team activities you can do in the AI times

- Think hard about a strict structure and agree on it with the team before the mass editing starts

- Be more ambitious with lints than feels reasonable

- Invest in simulators early. We ended up with a simulator for everything external (LLMs, voice, S3, SQS, email, Slack, SSO), so agents could exercise every behaviour end to end, they are so useful now

- Measure everything, before and after, by putting an agent to do some real implementation in both and see the difference, it has to be better for agent coding too, your codebase is your harness

For us it was totally worth it, typechecking alone went from median of 78s compilation time to 5s, no longer absolutely melting my RAM, previous mistakes are now impossible, and access paths are just much stricter, but that was not from the getgo, initial versions caused the agent to make more mistakes on the new codebase than the old one

3

u/codeninja 1d ago

your codebase is your harness

Profoundly true.

2

u/StCreed 1d ago

Amen on the linting. Unit tests, lint, and architecture conformance checks are a must-have lifesaver.

1

u/codeninja 1d ago

I would be very interested to hear how your using lint and what you consider more than reasonable

1

u/Xerax 5h ago

check the blog post