Answer the question
In order to leave comments, you need to log in
Why do you need OOP in javascript?
No matter how much I tried to understand why this thing is needed, I did not understand anything. What is the meaning of it?
Answer the question
In order to leave comments, you need to log in
Because a person thinks in objective categories. He is a programmer, so it is natural and convenient for him to use OOP
You need to read these two articles + comments from people below:
Functional style
OOP Prototype style OOP
AND video:
Javascript Jedi #20 - Prototypes and Inheritance
Javascript Jedi #21 - Constructors and Classes
This is enough to understand OOP in JS and for what it is) during practice, you will see for yourself)
And better study the entire tutorial: Modern Javascript Tutorial
As for Sorax's videos, I won't say that I like them, but they praise him on the net, so it's up to you, the tutorial helped me more.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question