
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 story.
""" 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": https://www.youtube.com/watch?v=QM1iUe6IofM 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. -- Viktor.