DEV Community

loading...

Is it worth using OOP in JS?

stefandurlesteanu profile image Stefan Durlesteanu ・1 min read

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!

Discussion

pic
Editor guide
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

因为面向对象