4 ms·
I am already convinced OOP is Plato, but I’ve never thought about this with ownership! If you have a short version I’d love to hear it.
by steveklabnik 7y ago
I am already convinced OOP is Plato, but I’ve never thought about this with ownership! If you have a short version I’d love to hear it.
- gingerBill 7y agoOwnership semantics also suffer from the misapplication of what ownership is. Property cannot own property. In this case, it just becomes a hierarchical dependency system of responsibility. So "ownership" itself is the wrong term. "This object owns this object which in turn is owned by another object." but rather "This object is responsibly for this object which in turn is responsible for this object." In sum, you are artificially applying a hierarchy were one has not arose naturally, and adding the artificial concept of an "object" as an abstraction where there is no real "object" in reality. All of these abstractions that we apply to programming are just tools that we (hope to) get utility from. In order to interpret anything, we must use a model. Some models are better than others, and some models are downright wrong.