Difference between revisions of "Programming paradigm"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) |
Karl Jones (Talk | contribs) (→See also) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 43: | Line 43: | ||
* [[Declarative programming]] | * [[Declarative programming]] | ||
* [[Imperative programming]] | * [[Imperative programming]] | ||
+ | * [[Logic programming]] | ||
* [[Object-oriented programming]] | * [[Object-oriented programming]] | ||
* [[Programming language]] | * [[Programming language]] | ||
* [[Programming language theory]] | * [[Programming language theory]] | ||
+ | * [[Rosetta Code]] | ||
* [[Structured programming]] | * [[Structured programming]] | ||
* [[Syllabus versus curriculum]] | * [[Syllabus versus curriculum]] | ||
Line 52: | Line 54: | ||
* [https://en.wikipedia.org/wiki/Programming_paradigm Programming paradigm] @ Wikipedia | * [https://en.wikipedia.org/wiki/Programming_paradigm Programming paradigm] @ Wikipedia | ||
+ | |||
+ | [[Category:Computer programming]] | ||
+ | [[Category:Computer science]] |
Latest revision as of 09:12, 30 September 2016
A programming paradigm is a fundamental style of computer programming, serving as a way of building the structure and elements of computer programs.
Contents
Description
Capabilities and styles of various programming languages are defined by their supported programming paradigms.
Some programming languages are designed to follow only one paradigm, while others support multiple paradigms.
Programming paradigms that are often distinguished include:
- Imperative programming
- Declarative programming
- Functional programming
- Object-oriented programming
- Procedural programming
- Logic programming
- Symbolic programming
Using different paradigms
With different paradigms, programs can be seen and built in different ways.
For example:
- In object-oriented programming, a program is a collection of objects interacting in explicitly defined ways.
- In declarative programming the computer is told only what the problem is, not how to actually solve it.
Analogy: syllabus versus curriculum
Two principles from education -- the syllabus, and the curriculum -- offer a useful analogy.
Declarative programming is to syllabus
As imperative programming is to curriculum
See Syllabus versus curriculum.
See also
- Computation
- Computer program
- Computer programming
- Declarative programming
- Imperative programming
- Logic programming
- Object-oriented programming
- Programming language
- Programming language theory
- Rosetta Code
- Structured programming
- Syllabus versus curriculum
External links
- Programming paradigm @ Wikipedia