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

A gentle way to get into the "functional" mindset is to write small a script and then use it to process some collection with xargs.

xargs is analogous to map() in this situation, and the script needs to have limited side effects to work well with concurrency. xargs -P4 for example.



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

Search: