Date: November 3 2021
Summary: An overview on what functional programming is and the
Keywords: #functional #programming #paradigm #archive
Not Available
There is an interest in pure (mathematical) functions
Functions that some input and output but nothing else
Immutable data
Data types cannot be changed in-place
Less side effects
Declarative
Easier to verify
Can mathematically prove an implementation
The approach of asking programming questions that functional programmers take is much more overarching. [1] Examples are:
When designing an interactive program, they would ask: What is interaction?
When implementing Conway's Game of Life, they would ruminate on the meaning of life.
To a functional programmer, the essence of programming, per Milewski, is to take big problems and decompose them into smaller problems. Then create small solutions that can then be composed together to solve the big problem. [1]
Zelko, Jacob. Functional Programming. https://jacobzelko.com/11032021180434-functional-programming. November 3 2021.
[1] B. Milewski, Category Theory for Programmers, Version v1.3.0-0-g6bb0bc0. 2019.