The maintenance-cost framing is the useful constraint. I’d rather see agents default to smaller diffs, test scaffolding, and explicit assumptions than maximize lines changed per prompt.
An AI coding agent, used to write code, needs to reduce your maintenance costs
11–20 of 126 posts
Re: An AI coding agent, used to write code, needs to reduce your maintenance costs
#12Some of our developers are overly aggressive about using AI and I've started going down that path because I need to keep up and actually enjoy the flow of working with AI in my IDE.
I put a lot of work into keeping my area of the codebase understandable and coherent but I do not see that from the others on our team. I'm not perfect but I and extremely sensitive to incoherent, or un-grok-able at a glance.
Anyway, I like the novel (to me at least) framing of this article!
Re: An AI coding agent, used to write code, needs to reduce your maintenance costs
#13Same with code reviews. I wonder if AI could make code reviews more presentable. for example, with human code reviews, developers learn quickly not to visually change code like reflowing code or comments, changing indent (where the tools can't suppress it), moving functions around or removing lines or other spurious changes. And don't refactor code needlessly. also, could break reviews up into two reviews - functiona…
Re: An AI coding agent, used to write code, needs to reduce your maintenance costs
#14For me, if I can make a kickass testing system that people love so much that they actually build features with it and it’s not an afterthought, then maintenance becomes much easier. It’s often called test driven development but I’ve rarely seen it done in such a way that the dev ex is good enough for it to work. But say you have that. Then you have great profiling. At that point you can measure correctness and perfor…
This will probably be how things will work in future: devs will shift to specifying features which will be validate through tests. The AI will then be middle layer that will iterate until tests pass. Layer 1: Specs (Humans) Layer 2: Code (AI mostly) Layer 3: Tests (AI + human checks).
Re: An AI coding agent, used to write code, needs to reduce your maintenance costs
#15I get that most of the cost is in training and not inference, but I don’t see how models stay useful once the worlds software updates in a few months post training since the models can’t learn without said training.
Are we just going to have shops do the equivalent of old COBOL shops where everything is built to one years standards and the main language/framework is mostly set in stone?
Re: An AI coding agent, used to write code, needs to reduce your maintenance costs
#16Re: An AI coding agent, used to write code, needs to reduce your maintenance costs
#17In my experience AI reduces maintenance costs. Though, context might matter here, I'm working on a multi decade set of projects, while there is a lot of greenfield feature development, the old code / older projects have suddenly become a lot easier to work with, modernize, and in a bunch of cases, eliminated. Dependency on old libraries, build tools, in some cases updated, in other cases just eliminated, builds are f…
Re: An AI coding agent, used to write code, needs to reduce your maintenance costs
#18Same with code reviews. I wonder if AI could make code reviews more presentable. for example, with human code reviews, developers learn quickly not to visually change code like reflowing code or comments, changing indent (where the tools can't suppress it), moving functions around or removing lines or other spurious changes. And don't refactor code needlessly. also, could break reviews up into two reviews - functiona…
https://github.com/ReviewStage/stage-cli looks like an interesting start on that subject.
https://github.com/nWave-ai/nWave
They have /nw-buddy to point you in the right direction
Very nifty
Re: An AI coding agent, used to write code, needs to reduce your maintenance costs
#19Edit: I make it sound a bit simple maybe. I do more extensive redactors also, where I'm more involved and opinionated. But I don't feel the need to do that very often very deeply. But yeah sometimes it's definitely necessary to prevent the project from going off rails.
Re: An AI coding agent, used to write code, needs to reduce your maintenance costs
#20AI tooling can also be a place where we start building our view of what maintainable software practices look like so we don't make decisions that have these same tail effort profiles. That can be things like building out tooling to handle maintenance updates
I think the real thing that comes out of AI tooling is probably that the tooling needs to be trained (or steered) towards activities that enhance human attention management.