Programming Paradigms
In 1969, their were 120 programming languages listed.
Now there are more programming languages.
These languages are divided under specific category based on
how they behave this is called paradigm.
There are 4 major categories:
- Procedural programming paradigm.
- Logic programming paradigm.
- Functional programming paradigm.
- Object oriented programming paradigm.
Each paradigm has its own advantages:
Paradigm
|
Good for
|
It has
|
Examples
|
Procedural
|
decomposition
|
Program=Algorithm + Data
|
C , Java , Perl , etc.
|
Logic
|
searching
|
Program=Facts + Rules
|
Prolog
|
Functional
|
reasoning
|
Program=Functions
|
Lisp , ML
|
Object oriented
|
modelling
|
Program=Objects + Messages
|
C++ , Python
|
No comments:
Post a Comment