"object-oriented programming" is a non-sensical marketing slogan with no relationship to either property rights or contracts.
-
-
-
Perhaps you are too young to have coded using only global vars & method args. It was a mess. Collecting data/methods was real/profound
-
The concept that OOP is ineffectively grasping at and preventing progress on is scoping, an elementary concept in functional programming.
End of conversation
New conversation -
-
-
I don't remember ever analogizing OO to property rights. Source?
-
It was a conversation with my dad about 20 years ago, though perhaps I am misremembering the details.
-
Alas, I think you are.
End of conversation
New conversation -
-
-
In the end, "OOP" is a package deal of unrelated ideas, often corrupted, half-baked, or frozen at an immature stage, used to sell toxic PLs.
-
In this century, sure. I think you are inflating my claim / underestimating how objects improved on global variables and passing structs
-
Objects never helped with global variables. Lexical and dynamic scoping did, OO languages only reluctantly adopted the former only from FP.
End of conversation
New conversation -
-
-
The actual central feature to save in "OOP" is *ad hoc polymorphism*, much better done in Lisp or Haskell classes than in any "OO" PL.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
What "information hiding" tries and fails to properly address is abstraction, i.e. scoping, lambdas, etc.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
"Information hiding", often claimed essential to "OOP", is Parnas' totalitarian idea: prevent programmers from seeing each other's code&docs
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Analogous to property rights are variants of linear logic, as used in e.g. Rust. Contracts? Eiffel tried them first, but Racket nailed them.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.