• pezhore@infosec.pub
    link
    fedilink
    English
    arrow-up
    44
    ·
    11 months ago

    I’ve tried using an LLM for coding - specifically Copilot for vscode. About 4 out of 10 times it will accurately generate code - which means I spend more time troubleshooting, correcting, and validating what it generates instead of actually writing code.

    • kurwa@lemmy.world
      link
      fedilink
      English
      arrow-up
      20
      ·
      11 months ago

      I feel like it’s not that bad if you use it for small things, like single lines instead of blocks of code, like a glorified auto complete.

      Sometimes it’s nice to not use it though because it can feel distracting.

      • Swedneck@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        26
        arrow-down
        1
        ·
        11 months ago

        truly who could have predicted that a glorified autocomplete program is best at performing autocompletion

        seriously the world needs to stop calling it “AI”, it IS just autocomplete!

    • piccolo@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      11 months ago

      I like using gpt to generate powershell scripts, surprisingly its pretty good at that. It is a small task so unlikely to go off in the deepend.

      • FauxLiving@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        11 months ago

        Like all tools, it is good for some things and not others.

        “Make me an OS to replace Windows” is going to fail “Tell me the terminal command to rename a file” will succeed.

        It’s up to the user to apply the tool in a way that it is useful. A person simply saying ‘My hammer is terrible at making screw holes’ doesn’t mean that the hammer is a bad tool, it tells you the user is an idiot.