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
    link
    fedilink
    1425 days ago

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

      • Martin
        link
        fedilink
        1525 days ago

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

        • gid
          link
          fedilink
          English
          325 days ago

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