For a while, the concept of OOP in Javascript bewildered me that I tried on several occasions to avoid it in the past. Avoiding it didn't help, it kept haunting me everywhere I turned as a software developer. Having been in such position, I will help you demystify Object Oriented Programming in JavaScript, and you will never be scared again just like I was.
This post will be divided up into mini-series to help us keep things light, easy to grasp and remember. These series assume you have some knowledge of Javascript and you want to understand how OOP works in JavaScript.
This series is as follows:
- Pillars of Objected-Oriented Programming
- JavaScript Objects, prototype, constructor, & Object constructor
- Object Creation in JavaScript
- JavaScript OOP : Abstraction
- JavaScript OOP : Encapsulation
- JavaScript OOP : Inheritance
- JavaScript OOP : Polymorphism
- JavaScript OOP : Inheritance vs Composition
We now have our content structure to follow, let's get started here: Pillars of Objected-Oriented Programming