programming paradigm
A programming paradigm is a relatively high-level way to conceptualize and structure the implementation of a computer program. A programming language can be classified as supporting one or many paradigms. Paradigms are separated along and described by different dimensions of programming. Some paradigms are about implications of the execution model, such as allowing side effects, or whether the sequence of operations is defined by the execution model. Other paradigms are about the way code is organized, such as grouping into units that include both state and behavior. Yet others are about syntax and grammar. Some common programming paradigms include (shown in hierarchical relationship): * Imperative code directly controls execution flow and state change, explicit statements that change a program state ** procedural organized as procedures that call each other ** object-oriented organized as objects that contain both data structure and associated behavior, uses data structures consisting of data fields and methods together with their interactions (objects) to design programs *** Class-based – object-oriented programming in which abstract data types and inheritance are achieved by defining classes of objects, versus the objects themselves *** Object-based - paradigm in which the object has a construct to encapsulate state and behavior, but without inheritance or subtyping *** Prot…
A programming paradigm is a relatively high-level way to conceptualize and structure the implementation of a computer program. A programming language can be classified as supporting one or many paradigms. Paradigms are separated along and described by different dimensions of programming. Some paradigms are about implications of the execution model, such as allowing side effects, or whether the sequence of operations is defined by the execution model. Other paradigms are about the way code is organized, such as grouping into units that include both state and behavior. Yet others are about syntax and grammar. Some common programming paradigms include (shown in hierarchical relationship): Imperative code directly controls execution flow and state change, explicit statements that change a program state procedural organized as procedures that call each other object-oriented organized as objects that contain both data structure and associated behavior, uses data structures consisting of data fields and methods together with their interactions (objects) to design programs Class-based – object-oriented programming in which abstract data types and inheritance are achieved by defining classes of objects, versus the objects themselves Object-based - paradigm in which the object has a construct to encapsulate state and behavior, but without inheritance or subtyping Prototype-based – object-oriented programming that avoids classes and implements inheritance via cloning of instances Data, Context, and Interaction - paradigm that emphasizes mental models and run-time behavior of networks of objects, whose responsibilities are granted dynamically based on roles they play in interactions with other objects Declarative code declares properties of the desired result, but not how to compute it, describes what computation should perform, without specifying detailed state changes functional a desired result is declared as the value of a series of function evaluations, uses evaluation of mathematical functions and avoids state and mutable data logic a desired result is declared as the answer to a question about a system of facts and rules, uses explicit mathematical logic for programming reactive a desired result is declared with data streams and the propagation of change Concurrent programming – has language constructs for concurrency, these may involve multi-threading, support for distributed computing, message passing, shared resources (including shared memory), or futures Actor programming – concurrent computation with actors that make local decisions in response to the environment (capable of selfish or competitive behaviour) Constraint programming – relations between variables are expressed as constraints (or constraint networks), directing allowable solutions (uses constraint satisfaction or simplex algorithm) Dataflow programming – forced recalculation of formulas when data values change (e.g. spreadsheets) Distributed programming – has support for multiple autonomous computers that communicate via computer networks Generic programming – uses algorithms written in terms of to-be-specified-later types that are then instantiated as needed for specific types provided as parameters Metaprogramming – writing programs that write or manipulate other programs (or themselves) as their data, or that do part of the work at compile time that would otherwise be done at runtime Template metaprogramming – metaprogramming methods in which a compiler uses templates to generate temporary source code, which is merged by the compiler with the rest of the source code and then compiled Reflective programming – metaprogramming methods in which a program modifies or extends itself Pipeline programming – a simple syntax change to add syntax to nest function calls to language originally designed with none Rule-based programming – a network of rules of thumb that comprise a knowledge base and can be used for expert systems and problem deduction & resolution Visual programming – manipulating program elements graphically rather than by specifying them textually (e.g. Simulink); also termed diagrammatic programming ==External links== Classification of the principal programming paradigms How programming paradigms evolve and get adopted?
References
- Multi-Paradigm Programming Language · retrieved 2026-11-17 · rev 1350371559
Cite this reference
MLA "Multi-Paradigm Programming Language." 2026-11-17. https://web.archive.org/web/20130821052407/https://developer.mozilla.org/en-US/docs/multiparadigmlanguage.html. Accessed 24 November 2026.
Chicago "Multi-Paradigm Programming Language." 2026-11-17. https://web.archive.org/web/20130821052407/https://developer.mozilla.org/en-US/docs/multiparadigmlanguage.html.
APA encyclopegia.org. (2026). Multi-Paradigm Programming Language. Retrieved November 24, 2026, from https://web.archive.org/web/20130821052407/https://developer.mozilla.org/en-US/docs/multiparadigmlanguage.html
- Teaching programming languages in a post-linnaean age · retrieved 2026-11-17 · rev 1350371559
Cite this reference
MLA "Teaching programming languages in a post-linnaean age." Krishnamurthi, Shriram (November 2008). 2026-11-17. http://dl.acm.org/citation.cfm?id=1480846. Accessed 24 November 2026.
Chicago "Teaching programming languages in a post-linnaean age." Krishnamurthi, Shriram (November 2008). 2026-11-17. http://dl.acm.org/citation.cfm?id=1480846.
APA Krishnamurthi, Shriram (November 2008). (2026). Teaching programming languages in a post-linnaean age. Retrieved November 24, 2026, from http://dl.acm.org/citation.cfm?id=1480846
- The paradigms of programming · retrieved 2026-11-17 · rev 1350371559
Cite this reference
MLA "The paradigms of programming." Floyd, R. 2026-11-17. https://doi.org/10.1145%2F359138.359140. Accessed 24 November 2026.
Chicago "The paradigms of programming." Floyd, R. 2026-11-17. https://doi.org/10.1145%2F359138.359140.
APA Floyd, R. (2026). The paradigms of programming. Retrieved November 24, 2026, from https://doi.org/10.1145%2F359138.359140
- Soroka, Barry I. (2006). Java 5: Objects First . Jones & Bartlett Learning. ISBN 9780763737207 . Wikipedia revision 1350371559, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1350371559
Cite this reference
MLA "Soroka, Barry I. (2006). Java 5: Objects First . Jones & Bartlett Learning. ISBN 9780763737207 . Wikipedia revision 1350371559, retrieved 2026-11-18." Soroka, Barry I. 2026-11-17. https://books.google.com/books?id=POAplMgrk4wC&dq=programming+paradigm+structured&pg=PA20. Accessed 24 November 2026.
Chicago "Soroka, Barry I. (2006). Java 5: Objects First . Jones & Bartlett Learning. ISBN 9780763737207 . Wikipedia revision 1350371559, retrieved 2026-11-18." Soroka, Barry I. 2026-11-17. https://books.google.com/books?id=POAplMgrk4wC&dq=programming+paradigm+structured&pg=PA20.
APA Soroka, Barry I. (2026). Soroka, Barry I. (2006). Java 5: Objects First . Jones & Bartlett Learning. ISBN 9780763737207 . Wikipedia revision 1350371559, retrieved 2026-11-18. Retrieved November 24, 2026, from https://books.google.com/books?id=POAplMgrk4wC&dq=programming+paradigm+structured&pg=PA20
- Mode inheritance, cloning, hooks & OOP (Google Groups Discussion) · retrieved 2026-11-17 · rev 1350371559
Cite this reference
MLA "Mode inheritance, cloning, hooks & OOP (Google Groups Discussion)." 2026-11-17. http://groups.google.com/group/comp.emacs.xemacs/browse_thread/thread/d0af257a2837640c/37f251537fafbb03?lnk=st&q=%22Richard+Stallman%22+oop&rnum=5&hl=en#37f251537fafbb03. Accessed 24 November 2026.
Chicago "Mode inheritance, cloning, hooks & OOP (Google Groups Discussion)." 2026-11-17. http://groups.google.com/group/comp.emacs.xemacs/browse_thread/thread/d0af257a2837640c/37f251537fafbb03?lnk=st&q=%22Richard+Stallman%22+oop&rnum=5&hl=en#37f251537fafbb03.
APA encyclopegia.org. (2026). Mode inheritance, cloning, hooks & OOP (Google Groups Discussion). Retrieved November 24, 2026, from http://groups.google.com/group/comp.emacs.xemacs/browse_thread/thread/d0af257a2837640c/37f251537fafbb03?lnk=st&q=%22Richard+Stallman%22+oop&rnum=5&hl=en#37f251537fafbb03
- Business glossary: Symbolic programming definition · retrieved 2014-07-29 · rev 1350371559
Cite this reference
MLA "Business glossary: Symbolic programming definition." 2014-07-29. http://www.allbusiness.com/glossaries/symbolic-programming/4950308-1.html. Accessed 24 November 2026.
Chicago "Business glossary: Symbolic programming definition." 2014-07-29. http://www.allbusiness.com/glossaries/symbolic-programming/4950308-1.html.
APA encyclopegia.org. (2014). Business glossary: Symbolic programming definition. Retrieved November 24, 2026, from http://www.allbusiness.com/glossaries/symbolic-programming/4950308-1.html
- Backpropagation with Callbacks: Foundations for Efficient and Expressive Differentiable Programming · retrieved 2019-02-12 · rev 1350371559
Cite this reference
MLA "Backpropagation with Callbacks: Foundations for Efficient and Expressive Differentiable Programming." Wang, Fei; Decker, James; Wu, Xilun; Essertel, Gregory; Rompf, Tiark (2018), Bengio, S. 2019-02-12. http://papers.nips.cc/paper/8221-backpropagation-with-callbacks-foundations-for-efficient-and-expressive-differentiable-programming.pdf. Accessed 24 November 2026.
Chicago "Backpropagation with Callbacks: Foundations for Efficient and Expressive Differentiable Programming." Wang, Fei; Decker, James; Wu, Xilun; Essertel, Gregory; Rompf, Tiark (2018), Bengio, S. 2019-02-12. http://papers.nips.cc/paper/8221-backpropagation-with-callbacks-foundations-for-efficient-and-expressive-differentiable-programming.pdf.
APA Wang, Fei; Decker, James; Wu, Xilun; Essertel, Gregory; Rompf, Tiark (2018), Bengio, S. (2019). Backpropagation with Callbacks: Foundations for Efficient and Expressive Differentiable Programming. Retrieved November 24, 2026, from http://papers.nips.cc/paper/8221-backpropagation-with-callbacks-foundations-for-efficient-and-expressive-differentiable-programming.pdf
- Nørmark, Kurt. Overview of the four main programming paradigms . Aalborg University, 9 May 2011. Retrieved 22 September 2012. Wikipedia revision 1350371559, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1350371559
Cite this reference
MLA "Nørmark, Kurt. Overview of the four main programming paradigms . Aalborg University, 9 May 2011. Retrieved 22 September 2012. Wikipedia revision 1350371559, retrieved 2026-11-18." Nørmark, Kurt. 2026-11-17. http://people.cs.aau.dk/~normark/prog3-03/html/notes/paradigms_themes-paradigm-overview-section.html. Accessed 24 November 2026.
Chicago "Nørmark, Kurt. Overview of the four main programming paradigms . Aalborg University, 9 May 2011. Retrieved 22 September 2012. Wikipedia revision 1350371559, retrieved 2026-11-18." Nørmark, Kurt. 2026-11-17. http://people.cs.aau.dk/~normark/prog3-03/html/notes/paradigms_themes-paradigm-overview-section.html.
APA Nørmark, Kurt. (2026). Nørmark, Kurt. Overview of the four main programming paradigms . Aalborg University, 9 May 2011. Retrieved 22 September 2012. Wikipedia revision 1350371559, retrieved 2026-11-18. Retrieved November 24, 2026, from http://people.cs.aau.dk/~normark/prog3-03/html/notes/paradigms_themes-paradigm-overview-section.html
- Characteristics of declarative programming languages · retrieved 2014-02-19 · rev 1350371559
Cite this reference
MLA "Characteristics of declarative programming languages." Frans Coenen (1999-10-11). 2014-02-19. http://cgi.csc.liv.ac.uk/~frans/OldLectures/2CS24/declarative.html#detail. Accessed 24 November 2026.
Chicago "Characteristics of declarative programming languages." Frans Coenen (1999-10-11). 2014-02-19. http://cgi.csc.liv.ac.uk/~frans/OldLectures/2CS24/declarative.html#detail.
APA Frans Coenen (1999-10-11). (2014). Characteristics of declarative programming languages. Retrieved November 24, 2026, from http://cgi.csc.liv.ac.uk/~frans/OldLectures/2CS24/declarative.html#detail
- Programming Paradigms: What Every Programmer Should Know · retrieved 2014-01-26 · rev 1350371559
Cite this reference
MLA "Programming Paradigms: What Every Programmer Should Know." Peter Van Roy (2009-05-12). 2014-01-26. http://www.info.ucl.ac.be/~pvr/VanRoyChapter.pdf. Accessed 24 November 2026.
Chicago "Programming Paradigms: What Every Programmer Should Know." Peter Van Roy (2009-05-12). 2014-01-26. http://www.info.ucl.ac.be/~pvr/VanRoyChapter.pdf.
APA Peter Van Roy (2009-05-12). (2014). Programming Paradigms: What Every Programmer Should Know. Retrieved November 24, 2026, from http://www.info.ucl.ac.be/~pvr/VanRoyChapter.pdf
- Programming paradigms: What are the principles of programming? · retrieved 2022-05-02 · rev 1350371559
Cite this reference
MLA "Programming paradigms: What are the principles of programming?." 2022-05-02. https://www.ionos.com/digitalguide/websites/web-development/programming-paradigms/. Accessed 24 November 2026.
Chicago "Programming paradigms: What are the principles of programming?." 2022-05-02. https://www.ionos.com/digitalguide/websites/web-development/programming-paradigms/.
APA encyclopegia.org. (2022). Programming paradigms: What are the principles of programming?. Retrieved November 24, 2026, from https://www.ionos.com/digitalguide/websites/web-development/programming-paradigms/
- What, if anything, is a programming-paradigm? · retrieved 2026-11-17 · rev 1350371559
Cite this reference
MLA "What, if anything, is a programming-paradigm?." Harper, Robert (1 May 2017). 2026-11-17. http://www.cambridgeblog.org/2017/05/what-if-anything-is-a-programming-paradigm/. Accessed 24 November 2026.
Chicago "What, if anything, is a programming-paradigm?." Harper, Robert (1 May 2017). 2026-11-17. http://www.cambridgeblog.org/2017/05/what-if-anything-is-a-programming-paradigm/.
APA Harper, Robert (1 May 2017). (2026). What, if anything, is a programming-paradigm?. Retrieved November 24, 2026, from http://www.cambridgeblog.org/2017/05/what-if-anything-is-a-programming-paradigm/
- Peter Van-Roy; Seif Haridi (2004). Concepts, Techniques, and Models of Computer Programming . MIT Press. ISBN 978-0-262-22069-9 . Wikipedia revision 1350371559, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1350371559
Cite this reference
MLA "Peter Van-Roy; Seif Haridi (2004). Concepts, Techniques, and Models of Computer Programming . MIT Press. ISBN 978-0-262-22069-9 . Wikipedia revision 1350371559, retrieved 2026-11-18." Peter Van-Roy; Seif Haridi (2004). 2026-11-17. https://books.google.com/books?id=_bmyEnUnfTsC. Accessed 24 November 2026.
Chicago "Peter Van-Roy; Seif Haridi (2004). Concepts, Techniques, and Models of Computer Programming . MIT Press. ISBN 978-0-262-22069-9 . Wikipedia revision 1350371559, retrieved 2026-11-18." Peter Van-Roy; Seif Haridi (2004). 2026-11-17. https://books.google.com/books?id=_bmyEnUnfTsC.
APA Peter Van-Roy; Seif Haridi (2004). (2026). Peter Van-Roy; Seif Haridi (2004). Concepts, Techniques, and Models of Computer Programming . MIT Press. ISBN 978-0-262-22069-9 . Wikipedia revision 1350371559, retrieved 2026-11-18. Retrieved November 24, 2026, from https://books.google.com/books?id=_bmyEnUnfTsC
- On Machine Learning and Programming Languages · retrieved 2019-02-12 · rev 1350371559
Cite this reference
MLA "On Machine Learning and Programming Languages." Innes, Mike (2018). 2019-02-12. https://web.archive.org/web/20180920175619/http://www.sysml.cc/doc/37.pdf. Accessed 24 November 2026.
Chicago "On Machine Learning and Programming Languages." Innes, Mike (2018). 2019-02-12. https://web.archive.org/web/20180920175619/http://www.sysml.cc/doc/37.pdf.
APA Innes, Mike (2018). (2019). On Machine Learning and Programming Languages. Retrieved November 24, 2026, from https://web.archive.org/web/20180920175619/http://www.sysml.cc/doc/37.pdf
- 'GOTO Considered Harmful' Considered Harmful · retrieved 2026-11-17 · rev 1350371559
Cite this reference
MLA "'GOTO Considered Harmful' Considered Harmful." Frank Rubin (March 1987). 2026-11-17. https://web.archive.org/web/20090320002214/http://www.ecn.purdue.edu/ParaMount/papers/rubin87goto.pdf. Accessed 24 November 2026.
Chicago "'GOTO Considered Harmful' Considered Harmful." Frank Rubin (March 1987). 2026-11-17. https://web.archive.org/web/20090320002214/http://www.ecn.purdue.edu/ParaMount/papers/rubin87goto.pdf.
APA Frank Rubin (March 1987). (2026). 'GOTO Considered Harmful' Considered Harmful. Retrieved November 24, 2026, from https://web.archive.org/web/20090320002214/http://www.ecn.purdue.edu/ParaMount/papers/rubin87goto.pdf
- CSCI/ARTI 4540/6540: First Lecture on Symbolic Programming and LISP · retrieved 2013-11-19 · rev 1350371559
Cite this reference
MLA "CSCI/ARTI 4540/6540: First Lecture on Symbolic Programming and LISP." a b Michael A. 2013-11-19. https://web.archive.org/web/20120307124013/http://www.ai.uga.edu/mc/LispNotes/FirstLectureOnSymbolicProgramming.pdf. Accessed 24 November 2026.
Chicago "CSCI/ARTI 4540/6540: First Lecture on Symbolic Programming and LISP." a b Michael A. 2013-11-19. https://web.archive.org/web/20120307124013/http://www.ai.uga.edu/mc/LispNotes/FirstLectureOnSymbolicProgramming.pdf.
APA a b Michael A. (2013). CSCI/ARTI 4540/6540: First Lecture on Symbolic Programming and LISP. Retrieved November 24, 2026, from https://web.archive.org/web/20120307124013/http://www.ai.uga.edu/mc/LispNotes/FirstLectureOnSymbolicProgramming.pdf
- programming paradigm · retrieved 2026-11-23 · rev 1350371559
Cite this reference
MLA "programming paradigm." 2026-11-23. https://en.wikipedia.org/w/index.php?oldid=1350371559. Accessed 24 November 2026.
Chicago "programming paradigm." 2026-11-23. https://en.wikipedia.org/w/index.php?oldid=1350371559.
APA encyclopegia.org. (2026). programming paradigm. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1350371559
Cite this article
MLA
"programming paradigm." encyclopegia.org, 2026, https://encyclopegia.org/wiki/programming-paradigm. Accessed 24 November 2026.
Chicago
"programming paradigm." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/programming-paradigm.
APA
encyclopegia.org. (2026). programming paradigm. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/programming-paradigm
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON