Software Development Resources
Create account | Log in | Log in with OpenID | Help

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

[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

  • C++ - Supports both object-oriented and procedural programming
  • PHP - Supports both object-oriented and procedural programming

Discuss