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?

  • @[email protected]
    link
    fedilink
    6
    edit-2
    23 days ago

    Yes, because it shows up in editors when hovering. We’re not forced, but as a lead, I encourage it.