|
|
|
|
|
by leshow
2351 days ago
|
|
I don't see how that could be true, as OOP is inherently about encapsulating mutation not preventing it. The problem with OOP is you're also free to alias mutable objects. > Sans the part about laziness, for which the formal term is "normal order evaluation" If you want to be pedantic, Haskell is 'call by need', not 'normal order'. |
|
It always goes into philosophical mumbo jumbo. I'm looking for quantitative and logical proofs that say definitively why functional is better. You do see how your statement will just trigger a vague retort from an OOP guy which will trigger a bunch of other vague retorts and counter examples from you. The end game is it goes nowhere.
If I want to be pedantic, the official term is normal order. You are wrong on this. See SICP chapter 1.