• Prunebutt@slrpnk.net
    link
    fedilink
    arrow-up
    28
    arrow-down
    1
    ·
    3 months ago

    A colleague once “showed off” how impressive Copilot supposedly was. I was like:

    1. Please don’t let AI write unit tests. That’s the one spot where I really don’t need bugs done by automation.
    2. Don’t you guys use snippets? I do that shit faster with snippets, macros and knowing my way around neovim.
    • tyler@programming.dev
      link
      fedilink
      arrow-up
      11
      ·
      3 months ago

      I don’t have snippets set up for languages I’ve never touched before.

      But copilot sucks. ChatGPT went super downhill. Claude is alright. If I know the language then it’s not that helpful. But if I don’t, or I don’t know the algorithm, then yeah, it’s super helpful.

    • Zikeji@programming.dev
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      3 months ago

      I’d rather just write it out. I’ve never used snippets or macros per say, but I do make liberal use of regex replace and multiline cursors lol. Writing out a bunch of getters and setters? Regex!

      I did try LLM tab auto complete and while sure, it did suggest some stuff that was useful (after refactoring it), the amount of time I spent WTF’ing some suggestions it made wasn’t worth it.

      I find more benefit from asking an LLM about something I’m undecided or confused about, and while it’s never given me a good enough answer, it has stirred enough creative juices in my brain to help me along lol.

      Edit: sorry for the dupes. When Eternity said it failed the send I took that at face value.