Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jejones3141
on Aug 8, 2012
|
parent
|
context
|
favorite
| on:
The Beauty of Bresenham's Algorithm
Any compiler/interpreter worth its salt will notice when an expression being tested in a conditional is constant and generate code that doesn't actually test it at run time. for (;;) is arguably more "idiomatic" C, though.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: