A
A
Alexander Ivanov2017-04-02 22:17:06
OOP
Alexander Ivanov, 2017-04-02 22:17:06

How does encapsulation work (I want to see a good illustration for presentation)?

There are many different images illustrating encapsulation on the Internet. But I haven't found a suitable illustration yet.
Seniors, can you share an illustration that most clearly reflects the encapsulation itself.
Why am I asking.
I have been doing backend and frontend for 2 years. Those. nothing. Over the years, I realized that I am not a layout designer (front-end is essentially the same layout), because. when if the block moved a little but the button works, then I'm fine. But if the block is standing straight, and the button does not work, then I cannot directly stop until it works properly.
Therefore, I decided to go to a clean backend.
I ask for the encapsulation illustration itself because I don’t really understand it. With an understanding of mvc, inheritance, abstraction and polymorphism, everything is fine. But encapsulation is not quite obvious yet.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
myspace, 2017-04-02
@cimonlebedev

try learn.javascript.ru/internal-external-interface

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question