• philm@programming.dev
    cake
    link
    fedilink
    arrow-up
    3
    ·
    8 months 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
      ·
      8 months 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
        ·
        8 months 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.