Conversation

Ah, come on folks, I learned about HOF with JavaScript! It feels like some people want FP to fail just because
Quote Tweet
I just read that higher-order functions (HOFs) are "advanced Haskell" so now I'm wondering what language I've been writing in for so long because using and defining HOFs are a foundational building block for writing any reasonable application.
3
14
It's very curious that people don't say this about passing objects around in OOP languages, which is HOFs with added concepts on top. Since an object like "new class counter(x) { inc(): new counter(x + 1) }" is essentially: "counter x m = if m == inc then counter (x + 1)"
1
2