Objected Oriented Programming

Posted on at


OOP(Object oriented Programe) is very impotentent language ofa computer

Why OOP language is Importent :

Object-oriented programming was developed because limitations were discovered in
earlier approaches to programming. To appreciate what OOP does, we need to understand
what these limitations are and how they arose from traditional programming
languages.

 

 

 

Procedural Languages:
C, Pascal, FORTRAN, and similar languages are procedural languages. That is, each
statement in the language tells the computer to do something: Get some input, add
these numbers, divide by six, display that output. A program in a procedural language
is a list of instructions.
For very small programs, no other organizing principle (often called a paradigm) is needed.
The programmer creates the list of instructions, and the computer carries them out.

 

 


Division into Functions:
When programs become larger, a single list of instructions becomes unwieldy. Few
programmers can comprehend a program of more than a few hundred statements
unless it is broken down into smaller units. For this reason the function was adopted
as a way to make programs more comprehensible to their human creators. (The term
function is used in C++ and C. In other languages the same concept may be referred
to as a subroutine, a subprogram, or a procedure.) A procedural program is divided
into functions, and (ideally, at least) each function has a clearly defined purpose and a
clearly defined interface to the other functions in the program.



About the author

160