Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hackinthebochs
on Sept 16, 2011
|
parent
|
context
|
favorite
| on:
What's wrong with this code, really?
Yup. A for loop's index should be completely controlled by the control clause. Modifying that control variable in loop should trigger air raid sirens. It wouldn't surprise me if static analyzers triggered an error on that.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: