Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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: