4 ms·
def group_by_interval(timestamps, interval_duration) # do the stuff Why does this require a comment?
by rootlocus 3y ago
def group_by_interval(timestamps, interval_duration)
# do the stuff
Why does this require a comment?
- danans 3y agoWho 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.