One way of simplifying this complexity is to split the software system into its component parts and arranged the parts in a hierarchy. This is very similar to the way in which the employees of an organization can be grouped according to the functions that perform and then arranged in a hierarchy.
Before object oriented programming came into effect, procedural programming was in use. Programs written by using the procedural programming approach consist of various functions. These functions can be executed any there within the program. Function in a program contains the instructional steps that are performed to carry out an activity.
The functions of a procedural program are interdependent and, therefore, difficult to separate one from another. These interdependent functions cannot be used in other program. As a result, even for a similar task across program, the entire function has to be recoded. This may program development a complex task.
For example, you have program, EmployeeDetails, coded in procedural language that keeps the details of employees of a bank. The program has a function, printDetails that prints the details of each bank employee. This function can be called many times in different parts of the same program. If you want to print the details of employees of a different organization, such as Railway reservation by using the same function, printDetails, then you have to recode it and another program.
In addition, data in procedural programming is visible and accessible throughout the program, making it easy to manipulate the data from anywhere in the program.
Some examples of procedural language are COBOL (Common Business Oriented Language), PASCAL and BASIC (Beginners All-Purpose Symbolic Instruction Code). While BASIC was too simple and proved insufficient for programming complex applications, COBOL was used primarily for documentation and data-handling. All procedural languages lack support for OOP.
The limitations of the procedural programming led to the evolution of the object oriented approach. In OOP the program is broken into independent chunks known as objects, which can be integrated to create a complete program. Thus, objects can be used across various programs. This enables a programmer to develop an application in a relatively shorter duration.
Published by Harsh Gupta - Tech Writer
I am a part time freelancer and writing is my hobby Some of my websites: http://www.GenericArticles.com http://www.JailBreakingiPhone.com View profile
- Your First Java ProgramContains the code, and analysis to create your first Java program.
- PHP Object Oriented Programming OOP for BeginnersA basic introduction to PHP object oriented programming geared towards beginners.
- Ruby: An Open Source Programming LanguageRuby is a scripting language that has been around for about 10 years. In the last few years it has picked up some steam.
C++ Programming Outlined for BeginnersLearning about various computer programming codes can become quite confusing. That is why I wrote a very simple, and easy-to-understand guide to the history, benefits and uses...- The Evolution of Computer Programming LanguagesThis is an overview of generation of programming languages: machine languages, assembly languages, and SQL.
- What the Heck is a Postcard Campaign and Why Do I Need to Do One?
- An Introduction to Programming in Perl
- Lake Charles Radio Wars: A Case Study in the Fight Over Radio's Non-Commercial Ban...
- Computer Programming - Then and Now
- The Best Computer Programming Language for Beginners
- Learn Computer Graphics for Free!
- A Short Introduction to Java Programming Language
- Before object oriented programming came into effect, procedural programming was in use.
- The functions of a procedural program are interdependent & therefore, difficult to separate
- The limitations of the procedural programming led to the evolution of the object oriented approach.



