October 2023
Intermediate to advanced
384 pages
9h 12m
English
In Chapter 9, Object-Oriented Programming, I suggested that the design of a functional program is more like plumbing than procedure. There is a definite data flow bias to it. This is because we tend to use map, filter, and reduce to transform the contents of lists into other lists, rather than iterating through the problem one element at a time to produce results.
We can see this bias in many of our previous examples, including the Bowling Game, Gossiping Bus Drivers, and Payroll applications in Part II, Comparative Analysis.
As another example, consider this interesting problem from day ten of Advent of Code 2022.1 The goal was ...
Read now
Unlock full access