Difference between OOP and POP

Here you will learn about difference between OOP and POP.

Object Oriented Programming and Procedure Oriented Programming are two most popular programming paradigms. In this tutorial we will discuss the key differences between these two approaches.

Also Read: Difference between C++ and Java

Difference between OOP and POP

Image Source

Difference between OOP and POP

Object Oriented Programming (OOP) Procedure Oriented Programming (POP)
Problem Solving Importance is given to objects. So to solve a problem, it is divided into smaller parts known as objects.  Importance is given to functions or procedures. So to solve a problem it is divided into smaller parts known as functions or procedures. 
Approach It follows bottom up approach. It follows top down approach.
Code Reusability The existing code can be reused by the feature called inheritance. There is no such feature.
Data Hiding The data is kept secure in class using access specifiers private and protected.   The data is less secure as this paradigm doesn’t provide any way to hide it.
Modification Modification and addition of new feature is really easier. Modification and addition of new feature is difficult.
Problem Size It is suitable for solving big problems. It is not suitable for solving big problems.
Example C++, Java and Python are some examples of OOP languages. C, Fortran and Pascal are some examples of POP languages.

Comment below if you have any doubts or found any mistake in above tutorial.

9 thoughts on “Difference between OOP and POP”

  1. Are you sure you have written the first point i.e.e problem solving point in correct columns?? I think , Not.

  2. Aside from Problem Solving is mixed up, I wouldn’t say that problem is divided between objects, yet classes. It’s just a matter of an abstraction level, object is a class instance, and class is an object blueprint.
    Also, I’d say that code reusability exists in procedural programming since functions and procedures can be organized in libraries which can be reused. Organizing code in libraries is ubiquitous in programming paradigms so if one don’t have any code reusability concept, libraries most certainly are. I must notice that Object Oriented paradigm is presented here like a silver bullet solution, which it surely isn’t. Yes, it is the most popular paradigm, but far from perfect for handling all of the problems. If it was like that way, other programming paradigms wouldn’t exist.

Leave a Comment

Your email address will not be published. Required fields are marked *