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!

Oldest comments (3)

Collapse
 
bias profile image
Tobias Nickel

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

Collapse
 
stereobooster profile image
stereobooster

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

Collapse
 
baozebing profile image
baozebing

因为面向对象