Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
qznc
on Jan 28, 2013
|
parent
|
context
|
favorite
| on:
In Love with LÖVE
The unintuitive thing about this choice is that "for i = n,m" calls the loop body "m-n+1" times. The "for (i = n; i < m; i++)" does it "m-n" times.
A more elaborate argument:
http://www.cs.utexas.edu/~EWD/transcriptions/EWD08xx/EWD831....
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:
A more elaborate argument: http://www.cs.utexas.edu/~EWD/transcriptions/EWD08xx/EWD831....