September 2023
Intermediate to advanced
470 pages
11h 12m
English
Since it has become a mainstream concept, functional programming means different things for different people. You’ll find that definitions of what functional programming is are a dime a dozen, but, at the end of the day, the only thing that matters is referential transparency.
Referential transparency is a very simple but powerful concept: if within the code you’re looking at you can replace any expression with its corresponding value without changing the program behavior, then that code is referentially transparent and, consequently, functional.
If you can write code in this way, then you are a functional programmer, no matter the language or the libraries you use. We haven’t defined what “expression” ...
Read now
Unlock full access