11 ms·
The fact that you cannot interact with the real world without wrapping side effects is sufficient justification that OOP is easier to teach, IMO. I'm a strong
by flaminHotSpeedo 3y ago
The fact that you cannot interact with the real world without wrapping side effects is sufficient justification that OOP is easier to teach, IMO.
I'm a strong proponent of FP and agree (though I recognize I may be biased) that it's easy to learn with the right teacher, but that's a big caveat that isn't universalizable IMO
- still_grokking 3y ago> The fact that you cannot interact with the real world without wrapping side effects That has nothing to do with FP. That's mostly a Haskell (and the-like) thing. "Hello world" looks in for example in OCaml like this: `print_string "Hello world!\n"`. You can interact with the outside world just fine without any "side-effect wrapping".