• TranquilTurbulence@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    15 hours ago

    I did that today. It went something like this:

    “See the naming conventions at the beginning of the script. Apply all the rules to all the non-conforming variable names and the new custom function we made earlier.“

    There were like 100 changes here and there, and I just didn’t feel like doing all that work manually.

    • definitemaybe@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      8 hours ago

      In my experience, the trick to this is to get a list of changes to make yourself, rather than trusting the machine to actually get it right. (Unless you’re in a dev/test environment and don’t care much if it fucks it up.)

      • TranquilTurbulence@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 hours ago

        This code isn’t anywhere near production yet. I’m still going to make a hundred little changes, but an LLM can do all the boring stuff so that I can focus on the interesting bits. There’s also going to be plenty of testing and iterative tweaks, so any major mistakes will be exposed sooner rather than later. Honestly, about half of the errors will be caused by me.