Computing & Software Codexery

Programming paradigm

Last updated

Programming paradigms are the fundamental principles used when developing software.[1]

Quick Facts

Field
Computer science

Facts from the source article.

Key facts and history

Floyd's lecture cited the notion of paradigm as used by Thomas Kuhn in his The Structure of Scientific Revolutions.[2] Early programming languages did not have clearly defined programming paradigms and sometimes used extensive goto statements.[2] Over time, various methods for programming have emerged.[2] The classification of a programming approach could be recorded either when it was first created or at a later point.[2]

Structured programming, which has been promoted since the 1960s, is one early approach that was deliberately recognized as a paradigm.[2] The notion of a programming paradigm itself goes back at least to 1978, appearing in Robert W. Floyd's Turing Award lecture.[2] The prohibition of goto statements was a key feature of the structured programming paradigms that were created as a result.[3] A paradigm is often defined as much by what it prohibits as by what it permits.[4]

What the cited sources add

The IONOS Digitalguide states that imperative programming is the classic variant among programming paradigms for software development.[1] The IONOS Digitalguide notes that imperative programming is the basis for early classics like Pascal and C, as well as all assembly languages.[1] Nørmark describes the imperative paradigm with the phrase "first do this, next do that".[5] Nørmark explains that the functional paradigm originates from the mathematical theory of functions.[5]

Harper states that he focuses on type structure rather than paradigm morphology in his work on programming languages.[6] Coenen notes that declarative languages allow the programmer to concentrate on the logic of an algorithm, while imperative languages require focus on both logic and control.[7] Harper contends that a strict classification of many programming languages into a single paradigm is impossible, because they incorporate elements from multiple paradigms.[8]

References

  1. "Programming paradigms: What are the principles of programming?", IONOS Digitalguide, 20 April 2020. facts only, no text reused. ionos.com
  2. Wikipedia, "Programming paradigm" (CC BY-SA 4.0), which cites: Floyd, "The paradigms of programming", Communications of the ACM, 1979, p. 455–460 (original not read by us) en.wikipedia.org
  3. Wikipedia, "Programming paradigm" (CC BY-SA 4.0), which cites: Soroka, "Java 5: Objects First", Jones & Bartlett Learning, 2006 (we also read that source) en.wikipedia.org
  4. Wikipedia, "Programming paradigm" (CC BY-SA 4.0), which cites: Frank Rubin, "'GOTO Considered Harmful' Considered Harmful", Communications of the ACM, March 1987, p. 195–196 (original not read by us) en.wikipedia.org
  5. Nørmark, Kurt. Overview of the four main programming paradigms. Aalborg University, 9 May 2011. Retrieved 22 September 2012.. facts only, no text reused. people.cs.aau.dk
  6. Harper, "What, if anything, is a programming-paradigm?", FifteenEightyFour, 1 May 2017. facts only, no text reused. cambridgeblog.org
  7. Frans Coenen, "Characteristics of declarative programming languages", cgi.csc.liv.ac.uk, 1999-10-11. facts only, no text reused. cgi.csc.liv.ac.uk
  8. Wikipedia, "Programming paradigm" (CC BY-SA 4.0), which cites: Harper, "What, if anything, is a programming-paradigm?", FifteenEightyFour, 1 May 2017; Krishnamurthi, "Teaching programming languages in a post-linnaean age", ACM SIGPLAN Notices, November 2008, p. 81–83 (we also read that source) en.wikipedia.org

Each numbered sentence above was checked against the source it cites before publication. Sentences citing Wikipedia adapt text from the English Wikipedia article Programming paradigm (contributors), used under CC BY-SA 4.0; this entry is available under the same licence. Other sources were used for facts only; no text or images are copied from them.

More in Computing & Software

Sources

Compiled from Wikipedia and the sources listed below. Text from Wikipedia is available under CC BY-SA 4.0; this entry is adapted from it.

Spotted an error? Know more?

Reader corrections go straight into our review queue. Suggest an edit · How this site is sourced

Comments

Loading…
Open in the interactive codex →