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

Can you run a test with the code in the article? I even said: "And that's still not ideal. We should be able to do: [code]".

I don't ever advise using map, but you can't setup your own for loop in coffeescript. Actually, in the code shown, map isn't used at all. Just .filter and .forEach.

Here is my version: http://jsperf.com/no-coffeescript-orig

The 'manual' is what I would write myself.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: