• katy ✨@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    38
    ·
    6 hours ago

    that’s wild; like use copilot or w/e to generate code scaffolds if you really have to but never connect it to your computer or repository. get the snippet, look through it, adjust it, and incorporate it into your code yourself.

    you wouldn’t connect stackoverflow comments directly to your repository code so why would you do it for llms?

    • Tja@programming.dev
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      2 hours ago

      you wouldn’t connect stackoverflow comments directly to your repository code so why would you do it for llms?

      Have you met people? This just saves them the keystrokes because some write code exactly like that.

    • dejected_warp_core@lemmy.world
      link
      fedilink
      arrow-up
      15
      ·
      5 hours ago

      Exactly.

      To put it another way, trusting AI this completely (even with so-called “agentic” solutions) is like blindly following life advice on Quora. You might get a few wins, but it’s eventually going to screw everything up.

      • Schadrach@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 hours ago

        Unironically this. I’ve only really tried it once, used it mostly because I didn’t know what libraries were out there for one specific thing I needed or how to use them and it gave me a list of such libraries and code where that bit was absolutely spot on that I could integrate into the rest easily.

        It’s code was a better example of the APIs in action and the differences in how those APIs behave than I would have expected.

        I definitely wouldn’t run it on the “can run terminal commands without direct user authorization” though, at least not outside a VM created just for that purpose.