Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
qjz
on Dec 20, 2010
|
parent
|
context
|
favorite
| on:
Writing clean, testable, high quality code in Pyth...
I use a similar commenting style, but in addition to the description, arguments and returns, I also list globals used (if any) and side effects (even if none). I find it very helpful to show if a function depends on or alters state.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: