← Back to context

Comment by Nextgrid

19 days ago

I’ll believe it when coding agents can actually make concise & reusable code instead of reimplementing 10 slightly-different versions of the same basic thing on every run (this is not a rant, I would love for agents to stop doing that, and I know how to make them - with proper AGENTS.md that serves as a table of contents for where stuff is - but my point is that as a human I don’t need this and yet they still do for now).

In my experience they can definitely write concise and reusable code. You just need to say to them “write concise and reusable code.” Works well for Codex, Claude, etc.

  • Writing reusable code is of no use if the next iteration doesn’t know where it is and rewrites the same (reusable) code again.

    • I guide the AI. If I see it produce stuff that I think can be done better, I either just do it myself or point it in the right direction.

      It definitely doesn't do a good job of spotting areas ripe of building abstractions, but that is our job. This thing does the boring parts, and I get to use my creativity thinking how to make the code more elegant, which is the part I love.

      As far as I can tell, what's not to love about that?

      10 replies →