@SullyOmarr I have an AI agent that sizes each task, writes failing tests first, builds, checks its own work, then get a second AI to review it with different lenses (subagent with its own context).
I approve every commit and push, so far it’s doing well, and i’m continuously improving it
Agreed, writing correct code that’s performant, verifiable, and testable is becoming more important than whether it’s human-readable.
The paradigm of sacrificing optimal performance for better readability is becoming less relevant with AI assisted programming
We need to reconsider our priors on code readability.
Humans, compared to agents, are pretty slow at understanding large quantities of text. So in the old days, readability was important so the human could efficiently grok what was going on.
So readability now comes down to:
1. Can a human, if needed, jump in and understand the code
2. Does the code use the same domain language as the human describing the code?
1 helps with observability and the occasional spot checks you need to do on important PR's. 2 helps the agent translate the words you use into code changes.
In other words, readability is now a nicety, not a necessity.
The way agents 'read' code is different - good agents are all about gathering data about how the code works. They'll prod around with it, execute parts of it.
So 'readability' to agents really means 'verifiability'. How easy it is to mess about with that code to see it working.
Let's take this scenario:
- You have a huge module in your codebase that uses all sorts of complex performance tricks
- It has 100% test coverage
A talented human would need an hour or two to get comfortable working in that module.
An agent needs zero time. They verify it with the tests, poke about a bit, and they're good to go.
The takeaways:
- When judging a module (or a codebase), don't think about how easy the code is to read
- Instead, think about how easy it is to verify
- Design your codebase so modules can be tested and verified independently
- Feel free to sacrifice a bit of readability for performance
- Cyclomatic complexity and function size don't matter to agents
@SullyOmarr I like to keep my PRs small and focused rather than a single massive one. It makes it simpler for peers to review your PR and handle iterations.
Always manually reviewing the PR yourself and using AI to catch edge cases i feel is the best
@yoheinakajima Would be very interesting to see if we can use Jev as an incident triage/root cause investigator across different connectors like Github, Datadog, Sentry, etc. and then use something like Haiku or a smaller model to output the results in a specific format to a slack channel
@SullyOmarr progressive disclosure on tool calling so that it can be discovered rather than entirely loaded into context essentially eliminates one of the major edges cli had over it. Maybe cli retains some benefits like chaining multiple different tools and piping them together?
@SullyOmarr For natural writing, i’ve found Gemini 3.7 Flash to be pretty good at it, but yea Opus 5 has been very “Claudish” in its output. I assumed it’s because I instructed it to be terse, and relying on diagrams or tables to convey complex ideas.
@growing_daniel I think just bad timing, these comments were not related to the Ox Alpha model, it was around the 3.7 Flash launch being our fastest growing model launch to date (which we are super excited about), unfortunate whirl wind of timing
@Adidotdev Maybe they still have something to announce today, but yea. At this point the continued vague posting from GDM is hurting their brand more than it’s helping.