Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
lmarcos
4y ago
0 comments
Share
While using `for` for that particular snippet of code is understandable, you cannot say that
while sum < 1000 {}
reads better (like English).
undefined | Better HN
0 comments
default
newest
oldest
pishpash
4y ago
Only the same if sum == 0 at the start.
j
/
k
navigate · click thread line to collapse