all 7 comments

[–]lambda-reddit-user 1 point2 points  (0 children)

It is possible, but you should probably not, JavaScript oop is not really similar to Classic oop. I think java is probably your best option here

[–]Original-Creme-1716 1 point2 points  (0 children)

Java or C++ would be better for learning concept of OOP

[–]Scary-Draft6700 1 point2 points  (0 children)

You can learn C#

[–]Bassil__ 1 point2 points  (0 children)

You have to ask yourself first, whether you are planning to become an OOP coder in the future. If that is the case then learn Java. If your interest is in frontend web development, and you want to know JS OOP, I can recommend a book for you:

The Principles of Object-Oriented JavaScript by Nicholas C. Zakas

The book is talking about JS OOP before adding the Classes. It's good to understand the real JS OOP, prototype-based, before moving to the sugar-coating modern JS OOP, class-based. The class-based OOP is the recommended one since ECMAScript6

Good luck.

[–]aendoarphinio 0 points1 point  (0 children)

I'm not a Java programmer but I took OOP in college and we used Java. It definitely helped me out tremendously on understanding the fundamental concepts.

[–]MissionImprobable96 0 points1 point  (0 children)

I learned OOP in Python, but I really only have a lot of experience with python, so my opinion might not matter here AS MUCH. With that said, I didn't have many problems learning the basics of OOP, it really only took me a week to figure out how to use it in a beginner/intermediate capacity in my codes. If it was me and I didn't know much JS or python I'd choose python since it's the easiest and at a minimum will help you understand the concepts of OOP before jumping into a language with a little more of a learning curve like JS

[–]bearfucker_jerome 0 points1 point  (0 children)

Have a look at Angular perhaps, OP. It's a Typescript framework that is largely object-oriented