DEV Community

Stefan Drl
Stefan Drl

Posted on

 

Is it worth using OOP in JS?

Hi all!

I see the advantages of using OOP in backend development (here I have some experience), but I can't get it, why should I use OOP in JS?
Could you give me a real life example where it is useful?

Thank you!

Latest comments (3)

Collapse
 
baozebing profile image
baozebing

因为面向对象

Collapse
 
stereobooster profile image
stereobooster

I feel like this is the other side dev.to/alexgwartney/explain-javasc...

Collapse
 
bias profile image
Tobias Nickel

yes, you absolutely don't need oOP in JS.

Regex for lazy developers

regex for lazy devs

You know who you are. Sorry for the callout 😆