What is OOP? Philosophy of Object Oriented Programming (OOP) | OOP Tutorial in C++

What is OOP? Philosophy of Object Oriented Programming (OOP) | OOP Tutorial in C++

Philosophy of Object Oriented Programming (OOP):

After the mid 1980s, The new programming concept, Object-Oriented Programming (OOP), was introduced and designed, which has the features such as the information hiding, encapsulation, polymorphsim and inheritance.

These offered much more convenient programming paradigm to code developers. The OOP concept was readily developed into the programming language as like C++ in the 1990s and is being widely used in the modern software industry.  Smalltalk is considered as the first truly object-oriented programming language.

The Object-Oriented Philosophy:

1. Every program is really a simulation.
2. The quality of a program’s design is proportional to the faithfulness with which the structures and interactions in the program mirror those in the real world.

According to this philosophy, a program to manage book handling in a library is really a simulation of what the librarians would have done prior to automation. A program to compute a company payroll is a simulation of what the accounting clerks would have done. A program to compute student grades at the end of a semester is a simulation of what a teacher would have done manually.

The Object Oriented Object (OOP) philosophy suggests that the things manipulated by the program should correspond to things in the real world. They should carry the same names as those things carry in the real world. And they should interact in ways like those objects n the real world.

What is object-oriented programming(OOP)?

OOP stands for Object-Oriented Programming. 

Procedural programming is about writing procedures or functions that perform operations on the data, while object-oriented programming is about creating objects that contain both data and functions.

The programming paradigm where everything is represented as an object is known as truly object-oriented programming language.

Object-Oriented Programming is a methodology or paradigm to design a program using classes and objects. It simplifies the software development and maintenance by providing some concepts:
  • Object
  • Class
  • Inheritance
  • Polymorphism
  • Abstraction
  • Encapsulation  

0 Response to What is OOP? Philosophy of Object Oriented Programming (OOP) | OOP Tutorial in C++

Post a Comment