• balp@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    5 months ago

    Docstring are user documentation, not comments. User documentation, with examples (tests), is always useful.

    • Vigge93@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      4 months ago

      As long as it’s maintained. Wrong documentation can often be worse than no documentation.