Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rootlocus
on July 7, 2023
|
parent
|
context
|
favorite
| on:
Open source code with profanity in comments is sta...
def group_by_interval(timestamps, interval_duration) # do the stuff
Why does this require a comment?
danans
on July 7, 2023
[–]
Who said require? I said it's nice to any future reader explain the algorithm if the implementation is complex. I've certainly benefited from such explanations in code.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: