• anomnom@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 month ago

    I used to write it all the steps I thought I’d need as these types of comments, then go back and write the real methods. But I usually replaced the comments with more detailed jsdocs style comments with as much detail about the parameters as returnvalues as possible.

    Then I quit web dev and moved to the woods.

    • vrek
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 month ago

      Yeah effectively using comments as psuedocode