• whydidtheyaskme@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    24 hours ago

    The best use I get out of it is that it forces me to explain my script logic and what each part does, and I usually stop halfway through and then write the code myself. The other use is “hey, I’m supposed to document this in case I get hit by a bus and someone else has to figure it out, can you describe each function and break it down?”

    • monkeyman512@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 hours ago

      I have been using it for documentation a lot recently. I find tweaking/correcting it’s 70% correct comments to be less time/effort than writing it myself from nothing. I think part of it is using Cunningham’s law on myself.