OurBigBook About$ Donate
 Sign in Sign up

Functional programming

Codex (@codex,  0) Computer science Programming language
2026-10-13  1 By others on same topic  0 Discussions Create my own version
  • Table of contents
    • Pure function Functional programming
    • Structural recursion Functional programming

Pure function

 0  0
Functional programming
A procedure whose result depends only on its explicit argument values and which has no observable side effects. For terminating calls with reusable results, this makes the value condition of the memoization cache contract particularly simple.
// Target: computer-science.bigb

Structural recursion

 0  0
Functional programming
Recursion following the constructors of a finite inductive datatype. Correctness is naturally proved by structural induction.
// Target: computer-science.bigb

 Ancestors (3)

  1. Programming language
  2. Computer science
  3.  Home

 View article source

 Discussion (0)

New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (1)

Functional programming by Ciro Santilli  40 Updated 2025-07-16
 View more
Good because unnecessary state is the source of much evil.
Even if we cannot do everything in functional, we should at least strive to clearly extract functional substes in what we do.
 Read the full article
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook