DEV Community

James
James

Posted on

Is Object Oriented programming less popular in JavaScript than other languages?

I'm learning Object Oriented programming with PHP for work. My background is frontend / JavaScript development and I've not really come across OO before. It seems that OO is less popular in JavaScript than other languages but maybe I've just been in the React bubble.

Do you agree that OO is less popular in JS? If so then why is that?

Top comments (1)

Collapse
 
vonheikemen profile image
Heiker

Do you agree that OO is less popular in JS?

I would say no. It was popular enough that the keyword class was added in the language.

Developers from languages like Java and C# can also write javascript at work, I'm very sure those people try to write object oriented while doing javascript.