3 ms·
I wonder if unix isn't already working with some object oriented paradigm. A process is some sort of object if you think about it. It has inputs and outputs. It
by jokoon 12y ago
I wonder if unix isn't already working with some object oriented paradigm. A process is some sort of object if you think about it. It has inputs and outputs. It can be instantiated and stay in memory. It can even send and receive messages, it you care about reading the doc on how to do it.
Maybe it's more relevant to understand how a system work, instead of trying to organize abstract high level concepts of how the cod should be written.
Maybe people have been trying to make UML concepts be understood in code, I'm sure that's the main reason, and OOP seems to be just that, some attept of abstract harmonization between theory (UML) and practice (OOP code).
- jghn 12y agoI'd argue that unix is more of a dataflow model
- angersock 12y agoCorrect. For a more OOP model, I'd look at microservice architectures or something like the Erlang VM.
- dragonwriter 12y ago> Maybe people have been trying to make UML concepts be understood in code, I'm sure that's the main reason, and OOP seems to be just that, some attept of abstract harmonization between theory (UML) and practice (OOP code). OOP predates UML by something like 30 years. UML may be an attempt to wrap a structured theory around the practice of OOP, but OOP is clearly not an attempt of abstract harmonization between theory as represented by UML and practice.