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

I’m fond of chained array methods, especially if the callbacks I pass are named functions - it can make for code that I find way more legible than for loops. But even with anonymous callbacks I’d rather do that ~90% of the time than use a for loop anyway.


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

Search: