• IcyToes@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    22 hours ago

    Surely missing that process, you forget error handling. As you write, its consistently, what if this is null, what if the input is like x. There are many questions you should ask yourself and if you AI it, you’ll forget.

    • Ignotum@lemmy.world
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      edit-2
      19 hours ago

      In my experience, the ai generate code has better error handling than code i write myself

      I’m lazy so i only write if it’s important (and i think of it), the AI is less lazy and often codes quite defensively in my experience