Problems of POP
It is true that the programs created using POP can be extremely efficient and high-performance, but the main problem is the maintenance. Some other problems include the followings,
Notes with worthy tutorials
Passing Objects:An object can be used as a function argument in the following two ways, pass-by-value pass-by-reference Using the first option given above we pass the value of an object to a function where the value of the used object will not change, but only be used. Use of the second will change the object … Read more
Class:Class is an user-defined data type which works same as the built in data types. A class contains some variables and functions to access those variables. These stay tied together and can not be accessed by other functions of other classes without permission. In that way data of a function … Read more
#include<iostream>:This is a directive which causes the preprocessor to add the contents of iostream, which is a header file and must be added above all of a program where input/output statements has been used. We will include the header file with the statement #include <iostream> The iostream package automatically defines a variable (an … Read more
Object Oriented Programming is programming concept which is focused on object rather than actions and data rather than logic. To design and to use system, OOP offers some outstanding features including the followings, Basic Features of OOP: Emphasis on data rather than procedure. Programs are divided into small parts called object. Data structures are designed … Read more
Great deal of excitement and interest in software engineers can be found in using OOP. Applications of OOP are gaining importance in many areas. The most important area is the user interface design such as windows. It has also got importance in real business systems as they are very complicated and use many methods and … Read more
As the name implies, Procedure Oriented Programming contains step by step procedure to execute. Here, the problems get decomposed into small parts and then to solve each part one or more functions are used. Thus in POP approach, the problem is viewed as a sequence of things to be done, such as, input taking, calculating and displaying. The primary focus stays on functions which will be used to accomplish each task.
Yes, I agree with the given statement, “POP provides emphasis on doing things, but OOP on the data”.
Justification of acceptance
In the case of a large program created using the concept of Procedure Oriented Programming, sometimes we declare some Global Variables which will be used by all the functions of the program. As we know that variable generally defines memory locations, thus in the case of a global variable,
Object Oriented Programming is programming concept which is focused on object rather than actions and data rather than logic.
Read More: What is Object Oriented Programming (OOP)?
Object Oriented Programming (OOP): Object Oriented Programming is programming concept which is focused on object rather than actions and data rather than logic. Object Oriented Programming concept is a way to remove some faults or limitations of POP (Procedure Oriented Programming). It puts much importance on data and does not allow data to move freely … Read more