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

I agree, the for loop is not intuitive at all, just historically present. However, try comparing the ruby against:

for x in range(10): print x



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

Search: