Programming paradigm
From DocForge
A programming paradigm is a chosen style of computer programming. Each programming paradigms defines the models used to represent program data and the processes used for computation and program flow. Paradigms might also define what techniques they forbid compared to other paradigms.
Choosing a programming paradigm for a specific situation is partly a matter of preference, but can mostly be based on suitability. For example, a paradigm might allow for easier testing or have important performance implications.
[edit] Programming Paradigms
- Declarative programming
- Functional programming - Stateless function evaluations
- Generic programming
- Grammar-oriented programming
- Imperative programming - Describing computation as instructions that change program state
- Language-oriented programming
- Metaprogramming - Programs that write or manipulate other programs or themselves
- Object oriented programming - Providing objects which represent the real world and the interactions between them
- Process-oriented programming - Concurrent processes working with shared data
- Procedural programming
- Structured programming
[edit] Programming Languages
Each programming language promotes, or even enforces, one or more programming paradigms. Some languages are specifically designed to support one paradigm.
Multi-paradigm programming languages include