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

I understand why the Hack-style pipes are probably a better choice for JS as we find it and its ecosystem, it's just that, having switched from my main languages being JS/TS and Python to now using Haskell most of the time, this contortion was what really struck me -- the emphasis on currying and function composition in pure functional languages just makes this a lot more natural.

As I said above, however, I think either method will be a fantastic addition to JS.



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: