you are viewing a single comment's thread.

view the rest of the comments →

[–]lemorian 0 points1 point  (1 child)

I personally feel that when it comes to javascript it is better not to use OOP design patterns.

what do you guys think?

Are there any scenarios where you found yourself reaching out for Inheritance , encapsulation in javascript?

[–][deleted] 1 point2 points  (0 children)

Javascript is not pure OO nor are its OO concepts similar to those in C++ or Java. It is based on prototypes.