• philm@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    This.

    If I’m writing something slightly more complex, ChatGPT(4) is mostly failing.

    If I’m writing complex code, I don’t even get the idea of using ChatGPT, because I’m only getting disappointed, and in the end waste more time trying to “engineer” the prompt, only to get disappointed again.

    I currently cannot imagine using ChatGPT for coding, I was excited in the beginning, and it’s sometimes useful, but mostly not really for coding…

    • worldsayshi@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      If you’re already knee deep in existing code and looking for bugs or need to write quite specific algorithms it seems not very useful. But if you for some reason need to write stuff that has the slightest feeling of boilerplate, like how do I interact with well established framework or service X while doing A, B C it can be really useful.

      • oldfart@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Also it’s often doing a great job if you paste a stack trace into it and maybe some surrounding code. I used it to fix someone else’s Java code as well as to upgrade some 3rd party Wordpress junk to latest PHP. I barely know Java and stopped following PHP news around version 5.6.