• Colonel Sanders@lemmy.world
    link
    fedilink
    arrow-up
    15
    arrow-down
    1
    ·
    1 year ago

    On the flip side, anytime I’ve tried to use it to write python scripts for me, it always seems to get them slightly wrong. Nothing that a little troubleshooting can’t handle, and certainly helps to get me in the ballpark of what I’m looking for, but I think it still has a little ways to go for specific coding use cases.

    • TheSaneWriter@lemm.ee
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      I think the key there is that ChatGPT isn’t able to run its own code, so all it can do is generate code which “looks” right, which in practice is close to functional but not quite. In order for the code it writes to reliably work, I think it would need a builtin interpreter/compiler to actually run the code, and for it to iterate constantly making small modifications until the code runs, then return the final result to the user.

      • icosahedron@ttrpg.network
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        The new code interpreter is able to run its own code, but i haven’t personally tested it to see if its code is more often functional.