Answer the question
In order to leave comments, you need to log in
How to understand the principles of OOP?
Good day! Recommend, please, books on OOP, so that it is accessible to read
Answer the question
In order to leave comments, you need to log in
You don't need books to understand the principles of OOP. Take a look around you. Look at any object in the real world, describe it in as much detail as possible (material, size, color, weight, density, constituent parts, etc.), these will be its properties. Describe what and how this object can do (turn on, add up, eat electricity, interact with other objects or the environment, etc.), these will be its methods. Think about what this object is used for, what it needs to be changed or added to use in other conditions or purposes, and based on all the knowledge collected, create a more convenient instance, this will be inheritance and polymorphism. Now forget about everything immediately, use the object for its intended purpose, this will be encapsulation. Then only the subtleties of your chosen language, patterns, methodologies, and so on will remain.th heresy trends .
Start learning Java. There's simply no way not to write in OOP.
Understanding OOP by reading books is very difficult. Instead, take a language (Python, Java, or some other object-oriented language) and play around with classes, functions, inheritance, and other OOP goodies.
Read books about design patterns, using the example of the same Java, for example
Search Google for "turbo pascal documentation".
The programmer's manual has a chapter on OOP.
Of all the things /me has read about OOP, this is the most intelligible description.
Inheritance, encapsulation and polymorphism are described there.
Component programming as an evolution of OOP
is well explained in the early chapters of Don Box's book "Essential COM".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question