• SoftestSapphic@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    4 hours ago

    If you copy and paste from ChatGPT your code won’t compile.

    You need to know what the peices of code do and how to peice them together to make it work.

    Which is kind of impossible to do without understanding it

    • Eheran@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      3 hours ago

      Since version 4 it has no problem generating working code. The question is how complex the code can get etc. But currently with o1 (o3 mini perhaps a bit less) a dozen functions with 1000 lines of code are really possible without a flaw.

      • SoftestSapphic@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        55 minutes ago

        If I tell ChatGPT “write me a program in python that does X, Y, and Z” it will not output code that can be compiled or ran without editing