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

In previous versions, you could change it mid-loop. This apparently caused some unintuitive behavior when paired with generators (e.g. `for k, v in pairs(table)`).

I haven't run into this myself, but it does make sense, and eliminating this footgun sounds like a good idea.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: