Wednesday, September 26, 2018 10:42

Object oriented programming

Object oriented programming (OOP) is a programming paradigm, which uses objects and their interactions for building computer programs.

Through this concept, programming tries to simulate the real world. In real world, we can have objects like a car, an orange, a dog. In object oriented programming, we can also the same exact objects, defined by classes. For now I am not going to get into details of what the goals and the advantages of OOP are, as well as explaining the details of principles for building hierarchies of classes and objects. I am only going to mention that programming techniques of OOP often include encapsulation, abstraction, polymorphism and inheritance. These techniques are out of the goals of the current lesson and I will explain them later on. Now I will only focus on objects as a basic concept in OOP.

Many programmers coming from non-oop languages, or beginner programmers are often scared and intimidated by this concept, because it is almost all the time poorly explained or in not such good ways. I know I had problems and I was intimidated myself, when I encountered them the first time. Though, I can assure you, even with the new complicated names and concepts, you have nothing to be afraid of. You will learn that object oriented programming is quite easy when learned correctly, and it can be quite fun!

So, without any further introduction, lets delve in the world of simulated objects!

Comments

comments

Tags: , , , ,

Leave a Reply