6 ms·
You can have an AI agent refactor and improve code quality.
by charcircuit 7mo ago
You can have an AI agent refactor and improve code quality.
- abakker 7mo agoBut, have you any code that has been vetted and verified to see if this approach works? This whole Agentic code quality claim is an assertion, but where is the literal proof?
- WithinReason 7mo agoIf it can be trained with reinforcement learning then it will happen
- wredcoll 7mo agoDid we have code quality before llms?
- intended 7mo agoIt’s agents all the way down - until you have liability. At some point, it’s going to be someone’s neck on the line, and saying “the agents know” isn’t going to satisfy customers (or in a worst case, courts).
- charcircuit 7mo agoSure it can. It's not like humans aren't already deflecting liability or moving it to insurance agencies.
- lelanthran 7mo ago> It's not like humans aren't already deflecting liability They attempt to, sure, but it rarely works. Now, with AI, maybe it might, but that's sort of a worse outcome for the specific human involved - "If you're just an intermediary between the AI and me, WTF do I need you for?" > or moving it to insurance agencies. They aren't "moving" it to insurance companies, they are amortising the cost of the liability at a small extra cost. That's a big difference.
- intended 7mo agoAt some point, the risk/return calculus becomes too expensive for insurance companies. Usually thats after the premiums become too high for most people to pay.
- wredcoll 7mo ago> until you have liability And are you thinking this going to start happening at some point or what? The letters I get every other month telling me I now have free credit monitoring because of a personal info breach seems to suggest otherwise.
- intended 7mo agoA firm has very different amounts of time, ability and money to spend on following up on broken contracts.
- lmm 7mo agoFunnily enough I've literally never seen anyone demo this, despite all the other AI hype. It's the one thing that convinces me they're still behind.
- flir 7mo agoJust today I had an agent add a fourth "special case" to a codebase, and I went back and DRY'd three of them. Now I used the agent to do a lot of the grunt work in that refactor, but it was still a design decision initiated by me. The chatbot, left unattended, would not have seen that needed to be done. (And when, during my refactor, it tried to fold in the fourth case I had to stop it.) (And for a lot of code, that's ok - my static site generator is an unholy mess at this point, and I don't much care. But for paid work...)