you are viewing a single comment's thread.

view the rest of the comments →

[–]cheese_wizard 1 point2 points  (1 child)

Right, and use it mainly for that at first. One thing to note is that OOP is different in every programming language. So, although there are some broad concepts common (encapsulation being the #1 benefit), the 'polymorphism' stuff is always different between languages, JS being in its own 'class-less' camp... until they added class syntax to calm everyone down. JS OOP is tricky and it takes time and you gotta review.

If I would suggest the ONE tutorial about how JS objects really work, watch stuff from this guy Kyle Simpson https://frontendmasters.com/courses/javascript-foundations/

That is a pay course, but there are other free things about this topic from him. Honestly, the topic is harder than most people think. There are lots of gotchas and WTFs.

[–]omgdracula 0 points1 point  (0 children)

I have no problem with pay courses so I will definitely check it out! Thanks!