3 ms·
You will always be able to ask the agent to do refactors for you - and it can do mega ones that exhaust you to think about!
by cadamsdotcom 4mo ago
You will always be able to ask the agent to do refactors for you - and it can do mega ones that exhaust you to think about!
- datadrivenangel 4mo agoAgentic refactoring is very questionable if you want to maintain quality, as it will rewrite all your code to be more average.
- zahlman 4mo agoI've found that if you look over the code and notice and describe a specific problem and solution, the agent can apply a refactoring for you well enough; and that's often faster than editing the file yourself even if you already know exactly what to do. The idea of setting up an agentic loop to review code and propose and implement refactorings still seems pretty awful to me, though, yeah. Maybe cut that off at the first green-bar revision, and then apply some actual taste and judgement.
- yanis_t 4mo agoTwo problems: I will not get my pleasure, and I will still not know how the code works.
- goatlover 4mo agoOr you can do it yourself. Use AI as a prototyping tool or for boring throw away tasks. There's no reason everyone has to succumb to vibe coding.
- Npovview 4mo agoHow about ship stuff now even if imperfect. Then as capable models come online, ask them to refactor. This allows you to deliver NOW and refactor later when the situation demands.