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

Some people just oversell it, or don't think of the whole spectrum of commutativeness scenarios when they write about FP. I give several examples of that, lower in this thread, with links.

And it's exactly the same thing that the author of the original article discusses -- that order was supposed not to matter, but it does.



I don't think anybody ever meant to imply that pure functions can be composed in any order. That's the confusion here. "Pure functions can be run in any order" only means that they don't have side effects so one call doesn't impact another, but nobody ever meant or (hopefully) understood that to mean that the inputs and outputs of pure functions could be composed in any order. I don't even know what kind of confusion could lead to such an idea.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: