• flamingo_pinyata@sopuli.xyz
    link
    fedilink
    arrow-up
    25
    arrow-down
    10
    ·
    1 year ago

    Looking up how to do something, as an improved stackoverflow. Especially if it provides sources in the answer.

    Boilerplate unit tests. Yes, yes, I know - use parametrized test, but it’s often not practical.

    Mass refactoring. This is tricky because you need to thoroughly review it, but it saves you annoying typing.

    I’m sure there’s more, it’s far from useless. But you need to know what you want it to do and how to check if done correctly.

    • mmddmm@lemm.ee
      link
      fedilink
      arrow-up
      30
      arrow-down
      2
      ·
      1 year 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.

    • Lucy :3@feddit.org
      link
      fedilink
      arrow-up
      13
      ·
      1 year ago

      I very rarely find result summarizers useful. If I didn’t find something normally, there won’t be anything in there.

      I sure love tests and huge codebases with errors in them. In the time I read and understood an LLM’s output, I could write it myself. And save on time later when expanding/debugging.

      • Ethan@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        When yarn/react/next.js/amplify breaks in some new and idiotic way, Claude is helpful more often than not. Why spend hours googling and sifting through github/stack overflow/etc when Claude can tell me what option to tweak to fix it in a fraction of the time?

    • vala@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      I am so far from trusting and LLM to do mass refactoring even with heavy review. Refactoring bugs can be super insidious.