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

According to Zed in the article, `for` requires fewer concepts to be fully explained, which `.each` only achieves teaching people to be "Good little rubyists".


I don't see how learning either one makes someone less of a programmer. It seems like you have made a false dichotomy.


One must choose between `for` and `.each` (lets assume we agree that teaching just one is the best approach), so you optimize for your goal of "good programmer", over "good little rubyist".




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

Search: