
10 Mar
2019
10 Mar
'19
5:20 p.m.
Dennis Raddle
I have a thought about OO vs. functional programming -snip-
""" 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. """
Interesting. Perhaps this is why it feels like OO scales for a little bit, but seems to hit diminishing returns? You get _some_ encapsulation, but "the rest of the program" grows faster than "us/we", and pure FP gives us guarantees about "the rest of the program", which is a larger set? -- Jack