Hacker Times
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ericholscher
on July 12, 2013
|
parent
|
context
|
favorite
| on:
Python quirks
A docstring is not a comment. A docstring is actually a string that gets saved on the object, where as a comment is not used at all.
quacker
on July 12, 2013
[–]
Right, and comments and documentation serve different purposes. But appropriate docstrings will greatly reduce the need for comments.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: