Object Oriented Programming

Difference between Procedural and Object Oriented language
Previous Home Next

The procedural language creates a step by step program which will guide through the application in a sequential of instructions. Each instruction is executed in a order . Procedural programming also give emphasis on the concept that all algorithms are performed with functions and data that the programmer has access to and is able to modify . Object-Oriented programming works similarly like the real world works; it is equivalent to the brain of human . Every program is made up of many units that are called objects.

Objects become the primary entities and poses behavior, or a specific objective, associated with them. The Objects can’t directly access another object’s data. Rather, a message must be sent requesting the data, similar to people who ask one another for information; we cannot see inside each other’s heads.

Role of Object-Oriented programming
  • Capability to imitate real-world event much more efficiently
  • Codes are reusable therefore less code may have to be written
  • Data becomes lively
  • GUI (graphical user interface) applications are created with better ability
  • Programmers are competent to reach their objectives quicker.
  • Programmers are more accurate , quicker and able to produce better-written applications .
Advantages and Disadvantage of OOPs

It consume a lot of time in understanding and analyzing the program. In the undersized range, that means somebody can’t just pick up a book and start programming within few days successfully. But for longer time it gives cleaner and more structured code.

One of the major advantage is that the code can be changed by anybody if or not coded by him as oops itself enforces a more even style.

Also, as of the code inheritance, you don’t have to reinvent the circle every and each time you write a program. All the important things are already there, we have to just put it together.

Previous Home Next