February 2018
Beginner
200 pages
4h 37m
English
In functional programming, functions are the primary tools for building a program. You can’t create a useful program without writing or using functions. They receive data, complete some operation, and return a value. They are usually short and expressive.
We combine multiple little functions to create a larger program. The complexity of building a larger application is reduced when the functions have these properties:
Functions that have these properties are called pure functions. A simple example is a function that adds 2 to a given number:
| | add2 = |
Read now
Unlock full access