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

Yeah this is clearly someone who's into FP. If you rewrite this code to replace the map/sum with a for loop it's basically identical in length, while being completely idiomatic.


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

Search: