AI Agents and the Refactoring That Never Happens
rosenfeld.page
AI Agents and the Refactoring That Never Happens
1–10 of 76 posts
Re: AI Agents and the Refactoring That Never Happens
#2Re: AI Agents and the Refactoring That Never Happens
#3Thats… not my experience. Like, not at all. They very regularly get lost
Re: AI Agents and the Refactoring That Never Happens
#4They're not bound by the same limits but they're still bound by some limits, yeah?
I'm not an AI expert, so I don't honestly understand why LLM driven agents are as good as they are. But my impression is "trace every caller", most of the time, is still an approximation. Once the code has gotten convoluted enough, cases are going to get dropped.
Re: AI Agents and the Refactoring That Never Happens
#5Refactoring used to have a very real cost - it was substantial amounts of time that would have to be carved away from working on new features.
Now I can spot a potential refactor, fire off a prompt in an asynchronous coding agent (or on a worktree or whatever), then come back 20 minutes later and either accept it, poke it a bit, or abandon it. Costs me almost nothing.
Re: AI Agents and the Refactoring That Never Happens
#6Re: AI Agents and the Refactoring That Never Happens
#7I've found that access to coding agents has helped me be far less tolerant of bad code patterns that can be refactored. Refactoring used to have a very real cost - it was substantial amounts of time that would have to be carved away from working on new features. Now I can spot a potential refactor, fire off a prompt in an asynchronous coding agent (or on a worktree or whatever), then come back 20 minutes later and ei…
Refactoring was never a substantial amounts of time for me before llms. Before I could spot a potential refactor and refactor it in 20 minutes and less. Never abandon it. Just constant improvement to the point the previous tech startup that I was working for just drive from itself (I am still paid a a few hours per months for it)
Re: AI Agents and the Refactoring That Never Happens
#8As ever, no one is willing to allocate time for this, but (with unlimited work tokens) I can parallel path massive cleanup refactors all the time now.
Re: AI Agents and the Refactoring That Never Happens
#9Re: AI Agents and the Refactoring That Never Happens
#10I've found that access to coding agents has helped me be far less tolerant of bad code patterns that can be refactored. Refactoring used to have a very real cost - it was substantial amounts of time that would have to be carved away from working on new features. Now I can spot a potential refactor, fire off a prompt in an asynchronous coding agent (or on a worktree or whatever), then come back 20 minutes later and ei…
Not exactly a refactor, but high degrees of consistency are what I strive for in a codebase. LLMs get confused by inconsistencies, as do humans.