• mmddmm@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    5 days ago

    Boilerplate unit tests.

    It will generate bad tests, so you will have lots of tests blocking your work, but won’t actually test the important properties.

    Mass refactoring.

    That’s an amount of trust in the LLM capacity to not create hidden corner cases and your capacity to review large-scale changes that… I find your complete faith disturbing.

    • Scrubbles@poptalk.scrubbles.tech
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 days ago

      I mean, it’s not like it ships it to production. You can read code it writes and modify it if you don’t like it, or choose not to use it.

      • nintendiator@feddit.cl
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 days ago

        If you can read the code it writes and modify it, a project manager can remove that time from you and take the AI slop direct to production.

    • Pennomi@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 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
        1
        ·
        5 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.