• Pennomi@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    2 days ago

    As always, the specific situation matters. Some refactors are mostly formulaic, and AI does great at that. For example, “add/change this database field, update the form, then update the api, update the admin page, update the ui, etc.” is perfectly reasonable to send an AI off to do, and can save plenty of programmer time.

    • Lucy :3@feddit.org
      link
      fedilink
      arrow-up
      6
      ·
      2 days ago

      Until you don’t properly check the diff, a +/- or </=/>/<=/>= was reversed, and you now have an RCE in test, soon to be in prod.

      • Pennomi@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 days ago

        What kind of moron doesn’t check the diff? Plus, modern AI coding tools explicitly show the diff and ask you to confirm each edit directly.

        I wouldn’t let a human muck about in my code unchecked, much less an AI. But that doesn’t mean it’s useless.