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 Introduction to Programming Objects and Arrays Objects

Mario Rodriguez
Mario Rodriguez
15,345 Points

Is the concept of objects taught in this video the same for all object-oriented languages?

If so, what are non-object oriented languages and what distinguishes them?

2 Answers

What this video shows you is some of the uses of the Object data type, but not actual object-oriented programming techniques.

I would encourage you to read into the different programming paradigms. This is a brief explanation into the two primary styles of programming, procedural and object-oriented. What you will have mostly encountered in Treehouse is procedural programming.

If you are curious, take a look at this list of languages that is organized by "type"

The concept of an object is similar in any language. The primary alternative to an object-oriented design OOD is a procedural design. There are different types of procedural styles with varying degrees of variances away from being purely procedural, but from a high level can be viewed a similar. The main difference is that procedural design will focus on separating data structures from procedures with an end result that you have a series of routines and sub-routines to process data while in OOD the procedures and data are combined into a class or object which process data and then pass the results to some other object with neither object really knowing or caring about how another object works as long as it gets the data it needs to do its thing.