DEV Community

Cover image for Understanding OOP concepts

Understanding OOP concepts

Moises Gamio on February 03, 2024

Understanding OOP concepts gives you a solid foundation for making critical decisions about object-oriented software design. Class A cl...
Collapse
 
efpage profile image
Eckehard

Class based OOP is a powerful concept to keep code maintainable. You can write OOP-code in Javascript, but the implemenation of classes is not very powerful. It lacks

  • fine graines visibility control (private / public)
  • stong encapsulation So currently, we cannot expect too much from OOP in JS. But things are getting better, next version of JS will have private variables, which could be a step forward.
Collapse
 
lico profile image
SeongKuk Han

Great, thanks for the post 👍

Collapse
 
devendra_2806 profile image
Devendra Devendra

Very helpful