DEV Community

Stefan Drl
Stefan Drl

Posted on

4

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!

Top comments (3)

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.

Collapse
 
baozebing profile image
baozebing

因为面向对象

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay