12
I have been working for 4 years with object orientation but to this day I have not asked myself the origin of this paradigm. What I’m trying to understand, basically, is what were the motivations for the creation of this paradigm, that is, what was intended to achieve with it.
Researching a little I read that Alan Kay thought about the paradigm making an analogy with biology:
He launched the postulate that the ideal computer should function as a living organism, that is, each "cell" would behave by relating to other cells in order to achieve an objective, however, functioning autonomously. Cells could also regroup to solve other problems or perform other functions, exchanging "chemical" messages between them.
On the other hand, books always say that the idea of object orientation is to make programming look more like the way of thinking in the real world (which I disagree with a little, because we build abstractions and not reliable copies of what we have in the real world). Others say object orientation was created to allow code reuse and modularity.
This all makes the origin of the orientation a bit hazy. What is the origin of object orientation? What were the motivations for the paradigm to be created and how the paradigm solves the problems that motivated it?
When asking about the origin of object orientation and what were the motivations I am explicitly asking the historical facts associated with object orientation and not the personal motivations of the developers to use the paradigm.
I always emphasize the greater expressiveness, naturally obtained, that this paradigm adds to the code. I don’t know if I’d put that as motivation, I guess more like a reflection.
– Vítor Neil Avelino
I liked your question, but my crystal ball says it can receive closing votes as "too broad" or "mostly based on opinions". I’m not voting to close, but if you can get a head start on some kind of issue to avoid possible closing votes, that would be great.
– Victor Stafusa
It’s @Victorstafusa, I imagined it right at the time I wrote it. Do you have any suggestions as to how the question can be improved?
– SomeDeveloper
I think just make it clear that the questions "What is the origin?" and "What were the motivations?" are factual and not opinionated, regardless of the opinion of anyone (even if it is Alan Kay), in addition to being objective (it is only sufficient to answer the "what" and ready), and therefore do not invite debates.
– Victor Stafusa
Thanks @Victorstafusa, I’ve added a little paragraph making it clearer.
– SomeDeveloper