Y
Hacker News
new
|
ask
|
show
|
jobs
by
omegalulw
1756 days ago
Yup, the rate limiter comments are unhelpful. A top level comment explaining the idea is fine (and very useful) but code should largely be self documenting.
1 comments
axiosgunnar
1756 days ago
Which it often is, but they still wrote a comment, leading to ridiculous stuff along the lines of
> // Returns None is x = 0
if x = 0 { return None }
link
> // Returns None is x = 0
if x = 0 { return None }