Saturday, March 11, 2017

Difference Between OOP and POP

In this post i am sharing the fundamental topic is difference between OOP and POP. Many beginners have no depth knowledge on this. Before discussing the difference between OOP and POP,let us first to know some basic concepts of the programming process. There are two approaches the result of software development evolution over many decades. These approaches nothing but top-down programming and bottom-up programming. The basic purpose of these approaches are to make programming efficient. That means to make the process of writing a complex program less harder,bug free,easily understandable,easily modifiable etc..



First let us know what is OOP:

Object Oriented Programming(OOP) is based on two main concepts such as object and class. Objects are key to understanding object oriented technology.Object is anything that really exists in the world and can be distinguished from others. Everything that we see physically will come into this definition. Examples human being,a book,a tree and so on. Every object has properties and exhibits  some behavior. class represents a group name given to several objects. A class is a template or blueprint to create objects. We can also define"A class is a software design which describes the general properties of something which the software is modeling.

OOP approach focuses mainly on data rather than on the algorithm for handling data. Since both data and functions that handle that data are bundled within objects,no modifications can be done on the data by external functions. OOP programming has four main features: abstraction,encapsulation,polymorphism and inheritance. OOP also supports high modularity. Adding new functions of data does not require altering the complete program.It can be simply be done by creating a new object since objects are independent to declare and define. Thus,OOP can be efficient and high in productivity.

Considering the programming design,OOP follows a bottom-up approach. Some popular OOP languages are Java,Python,perl,VB.NET and C++

Now let us know about POP:

POP means Procedure Oriented Programming views the problems as a sequence of things to be done and is based on the concept of procedure calls. Programs are divided into smaller sections called Procedures also known as routines,subroutines,methods or functions.Using POP languages might sometimes prove to be difficult when modeling real world problems.
Data can be passed between the procedures and each procedure transforms the data from one form to another. Most of the data are global and can be accessed freely from any function in the system.Since POP does not support effective techniques for hiding the data,the program might be insecure.

In POP,it might be difficult to identify what data is used by which functions at times since global data is largely shared between functions.Example for POP languages are COBOL,PASCAL,FORTAN AND C Language.

Difference Between oop and pop:



Watch Video: Difference between OOP And POP
See also:

What is Java Bean With Examples

Inter thread communication in Java
Synchronization Interview Questions
When to use abstract class and when interface in Java

No comments:

Post a Comment

High Paying Jobs after Learning Python

Everyone knows Python is one of the most demand Programming Language. It is a computer programming language to build web applications and sc...