|
|
|
|
|
by crimsonalucard
2351 days ago
|
|
Thanks for letting me know rust isn't OOP. I never said it was. Funnily. >Ignoring type systems and just looking at functional vs imperative, the advantage for functional is immutability making functions easier to reason about. Haskell in particular is also lazy, and therefore enables you to not be concerned with evaluation order. Sans the part about laziness, for which the formal term is "normal order evaluation" FYI, OOP guys say the exact same thing about objects word for word. |
|
> 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'.