[Haskell-cafe] [OT] thoughts about OO vs. functional "philosophy"
ietf-dane at dukhovni.org
Mon Mar 11 04:50:27 UTC 2019
On Sun, Mar 10, 2019 at 01:28:18PM -0700, Dennis Raddle wrote:
> Then this thought occurred to me, which is nifty but maybe not the whole
> Say we're a class. Then the simplifying assumptions of OO allow *us* to
> trust the *rest of the program* won't mess with us.
> Say we're a function. Then the simplifying assumptions of functional style
> help the *rest of the program* trust that *we* won't mess with it.
I am curious what readers of this thread make of:
"Object-Oriented Programming is Bad":
The main thesis appears to be that OO encapsultion makes code harder
to read, and fails to deliver on the benefits of encapsulation of
state when objects interact with other objects.
More information about the Haskell-Cafe