• Omgpwnies@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 months ago

    Break it up into functions with names that describe what it does, then the script becomes basically a sequence of function calls and is easier to read and troubleshoot.

    • jkercher@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 months ago

      I’m on your side dude. Comments rot. Some are useless. Don’t even get me started on doxygen comments.