• HiddenLayer555@lemmy.ml
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    2
    ·
    edit-2
    15 hours ago

    This is where commit based version control can help mitigate the damage or detect it early. The golden rule in AI assistance in programming (if you’re going to use it) is to check the changes to make sure you understand everything before you commit it. If documents had a git-like version control system it would be easier to detect corruption early.

    Or just use Markdown files in a git repo IDK

    • jtrek@startrek.website
      link
      fedilink
      arrow-up
      5
      ·
      12 hours ago

      That’s not how humans work. We’re lazy.

      You ever use snapshot tests? They’re garbage. They’re garbage because people glance at a 300 line diff and go “that seems right”, because a good chunk of the time it is. But some portion of the time, it’s borked up.

      Having it in git doesn’t solve that problem.