Introduction to Object-Oriented Programming in JavaScript

Click for: original source

Rainer Hahnekamp wrote this blog post about object-oriented programming (OOP) in JavaScript. It is aimed at students with no prior knowledge in OOP.

The author briefly explains programming paradigms. He also notes that OOP is based on real-world objects lets anyone read your code and understand what’s going on.

The article contains information on:

  • The Object-Oriented paradigm
  • Object as centerpiece
  • Class as template
  • What is encapsulation
  • What is inheritance

You will find three different programming paradigms used to create JavaScript applications. They are Prototype-Based Programming, Object-Oriented Programming and Functional-Oriented Programming.

There are many links to further resources in the article. Example code for ES6 is also provided which will help you to get better understanding of OOP paradimg. Cool!

[Read More]

Tags javascript oop programming nodejs