A
A
Ammie2014-07-08 21:44:20
Programming
Ammie, 2014-07-08 21:44:20

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

7 answer(s)
I
Igor Makarov, 2014-07-09
@Ammie

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 .

J
JRazor, 2014-07-08
@JRazor

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.

C
Calc, 2014-07-09
@Calc

Grady Butch.
Object Oriented Analysis and Design

Q
quizzer, 2014-07-08
@quizzer

Read books about design patterns, using the example of the same Java, for example

I
Ilya Evseev, 2014-07-09
@IlyaEvseev

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".

K
kinzul, 2014-07-09
@kinzul

Read about Plato's philosophy and his thoughts on "Ideas" :)

F
franknew, 2016-11-09
@franknew

First, practice in object-oriented languages ​​(with a quality IDE to see the work of encapsulation and inheritance on the fly), and then books (to systematize the knowledge gained).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question