Tag Archives: what is object oriented

What is Object Oriented Programming

[youtube]http://www.youtube.com/watch?v=OQjPcS1tkDQ[/youtube]Welcome to a brief tutorial on what is Object Oriented Programming (OOP) and why the object oriented approach is considered the best way to program. Objects programming has taken the world by storm because of its flexibility and understandability, but learning the concepts behind it are sometimes a bit daunting. I will do my best to explain it in the simplest of terms. I assume you have a minor understanding of programming in this article, but if not, you can read my Javascript Scripting Tutorial to get prepared.

What Are Objects in Object Oriented Programming

A while back when a programmer sat down to write a program he/she would first ask “What does this program have to do?” They would then create a program that was filled with one action after another. This is known as procedural programming.

Now most programmers instead ask themselves, “What things are in this program?” Then they write code that explains what functions these things (objects) should be able to do. This is known as Object Oriented Programming (OOP).

Let’s say you are told to create a program that copies the functionality of a car. Here is a basic example of how you might do that with procedural programming versus OOP. Continue reading What is Object Oriented Programming