Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Interactive Web Pages with JavaScript JavaScript and the DOM Overview

Kartik Kapoor
Kartik Kapoor
3,016 Points

Do I need to know Inheritance, encapsulation, abstraction or polymorphism before taking this course?

I have completed the JS Foundation track and I understand all the concepts explained in the course.The objects sub-course is totally clear to me. Do I need to know any of the above mentioned concepts before proceeding with this track?

2 Answers

Erik McClintock
Erik McClintock
45,783 Points

Kartik,

They are not necessary to begin learning your syntax and conditionals and whatnot that will allow you to use the language at a basic level. As you learn, though, the concepts will present themselves and start to make themselves clearer, and then once you get to more intermediate/advanced applications with JavaScript, that's when they'll really start to hit home and become a bit more necessary to take full advantage of the language and make it efficient, scalable, and reusable.

But no, to take these courses, you do not need to be intimately familiar with the concepts of object-oriented programming. That will come in time.

Erik

Kartik Kapoor
Kartik Kapoor
3,016 Points

Thanks for the clarification.I really appreciate it :). I was thinking along the same lines ,just wanted to be sure.

Michael Plemmons
Michael Plemmons
9,393 Points

I'm realizing how similar javascript is to java. They say it's not the same language and I realize that, but everything I incorporated into web pages in Java (mouse events, user interactivity, and more) can also be done in javascript. Inheritance, Polymorphism, Objects, Classes....all Java or any programming language. The extensive API library, Java has the same. The only 2 differences I see is the syntax and Java can be used for stand-alone apps and web pages, where javascript is only for web pages.

Overall, javascript seems the be the best way to add this interactivity because it seems Java has been having some security vulnerabilities and most people don't enable it.

This is sort of off topic but those who don't have much programming experience, I wanted to point this out