• @saltesc
    link
    161 year ago

    It’s like handing a job to the new guy.

    I use it for snippets. Always double check though and always need to remind it of methods that will and will not work. Often it’s just inspiration or for doing lengthy subquery style stuff that takes ages to type out. But even then, 10 mins of battling it when I didn’t want to take 5 mins to just manually do it is sadly common.

    I do like asking it to optimise and it can’t find anything that could be better, though. We’re friends then.

    • karmiclychee
      link
      fedilink
      21 year ago

      Boilerplates, or solutions to really weird one off problems that require a bunch of synthesis across different, unfamiliar domains (ie, as a web dev, how do I install imagemagick on an internal, stripped down rootless RHEL container with microdnf)

      • Pennomi
        link
        English
        11 year ago

        Yeah, or implementing well-defined single functions that would otherwise just be a hassle. I’ll just stub out the function signature and tell it to finish the rest.

  • @namelivia
    link
    101 year ago

    I find it actually useful to write code you understand and you could have written yourself, you are just lazy to type.

    But I cannot imagine developing using ChatGPT without actually knowing what is in the output or what specifically ask for.

    • @TrickDacy
      link
      31 year ago

      I agree with exactly what you wrote, but I don’t consider it “lazy” to use tools to get work done faster/better.

      • @namelivia
        link
        21 year ago

        Agree! I meant lazy in a lazy-smart way

      • @Crackhappy
        link
        English
        21 year ago

        Agreed. Auto complete with IDEs both save time and help make camel casing everything properly easier.

  • fmstrat
    link
    fedilink
    English
    81 year ago

    In a year, ChatGPT will be the #1 contributor to code rot and things that need to be refactored.

  • @NounsAndWords
    link
    61 year ago

    If it can tell me what the code I’m looking at (that I wrote yesterday) is supposed to do, that’s enough for me.

    • @[email protected]
      link
      fedilink
      Deutsch
      21 year ago

      // This keeps the service afloat. I don’t really know why, but don’t comment the following line!

  • @KISSmyOS
    link
    5
    edit-2
    10 months ago

    deleted by creator

    • @Tixanou
      link
      Español
      21 year ago

      I’m sorry, but as a large AI language model, I don’t have the ability to debug this code.

  • karmiclychee
    link
    fedilink
    31 year ago

    I used it a bit during the first hype wave. It was neat, but immediately I found I hadn’t actually learned anything. When I went back to the code, there wasn’t a matching trail of purple links though Google or stack overflow for me to follow and retrace my steps. That probably reinforced for me that programming is about design choices, and provenance of ideas, more than anything else.

    • @TrickDacy
      link
      11 year ago

      You’re not supposed to let ai write code you don’t understand. It’s meant to help with syntax you don’t remember (but would recognize upon seeing), reduce typing, and get creative juices flowing by presenting a way of doing the things.