Was going through a Python tutorial, but it seems kinda dated. Wanted to know if people regularly use docstrings in the workforce. Or are they somewhat irrelevant because you can convey most of that info via comments and context? Do jobs make you use them?

  • Martin
    cake
    link
    fedilink
    173 months ago

    At my work we use linters that refuse code with missing or bad docstrings.

      • Martin
        cake
        link
        fedilink
        183 months ago

        Most projects are migrating towards Ruff. All in one and speedy.

        • gid
          link
          fedilink
          English
          33 months ago

          Yeah, I just moved our linting/format checking pipeline to ruff and it’s been painless and fast.