Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Latest commit

 

History

History
24 lines (18 loc) · 1 KB

functional_programming.org

File metadata and controls

24 lines (18 loc) · 1 KB

Functional programming

One of the main concepts about this paradigm is Lambda Calculus.

Functional programming is based on expressions that include variables or constant values, expressions combined with other expressions, and functions.

Referential transparency

Means that give the same function, the same values to evaluate, will always return the same result in pure functional programming, as they do in math.

Links

Questions

What is pattern matching?

Is a dispatch mecanism. Choosing which variant of a function is the correct one to call. It’s inspired by standard mathematical notations. Some of the pros of this feature is:

  • Can make an assertio based on the value and the structure of something.