My audio blog for this page is at http://soundcloud.com/prem-anandh/audio-recording-4
Functional , Procedural and Object Oriented programming languages.
Procedural :
They are the traditional programming languages which include languages like Basic , C ,Pascal. They use the method of solving problems using procedures(sub-routines). It is written as a list of instructions, telling the computer, step-by-step instructions of what the program should do.
They work well for small projects but it will become difficult to accommodate changes to the project as the size of the code grows large.The procedures help in reducing the size of the code by allowing reuse of the same code in various parts of program.
Functional :
These languages differ from procedural languages by the way they treat functions. They allow functions to behave in the same manner as the functions in a mathematical equations.They allow lazy evaluation , which means the execution need not be done immediately. It also allows a function to take another function as a parameter and also to return them.
These languages are mostly used in the field of mathematics and research fields. Iteration is done using recursion. They bind the variables and functions together. They are not as elaborative as procedural as they handle most of their calculations using functions.
OOP:
They are the advanced languages and they have the following properties
1) Abstraction
2) Encapsulation
3) Inheritance
4) Polymorphism.
They help in creating more modular code and they can accommodate changes in the program better than the procedural languages.
Not all Programming languages can be classified into above mentioned categories as each language may contain features of more than one.
Functional , Procedural and Object Oriented programming languages.
Procedural :
They are the traditional programming languages which include languages like Basic , C ,Pascal. They use the method of solving problems using procedures(sub-routines). It is written as a list of instructions, telling the computer, step-by-step instructions of what the program should do.
They work well for small projects but it will become difficult to accommodate changes to the project as the size of the code grows large.The procedures help in reducing the size of the code by allowing reuse of the same code in various parts of program.
Functional :
These languages differ from procedural languages by the way they treat functions. They allow functions to behave in the same manner as the functions in a mathematical equations.They allow lazy evaluation , which means the execution need not be done immediately. It also allows a function to take another function as a parameter and also to return them.
These languages are mostly used in the field of mathematics and research fields. Iteration is done using recursion. They bind the variables and functions together. They are not as elaborative as procedural as they handle most of their calculations using functions.
OOP:
They are the advanced languages and they have the following properties
1) Abstraction
2) Encapsulation
3) Inheritance
4) Polymorphism.
They help in creating more modular code and they can accommodate changes in the program better than the procedural languages.
Not all Programming languages can be classified into above mentioned categories as each language may contain features of more than one.
No comments:
Post a Comment