February 2014
Beginner
1248 pages
62h 25m
English
• Prior to functional programming, you typically determined what you wanted to accomplish, then specified the precise steps to accomplish that task.
• Using a loop to iterate over a collection of elements is known as external iteration (p. 731) and requires accessing the elements sequentially. Such iteration also requires mutable variables.
• In functional programming (p. 732), you specify what you want to accomplish in a task, but not how to accomplish it.
• Letting the library determine how to iterate over a collection of elements is known as internal iteration (p. 732). Internal iteration is easier to parallelize.
• Functional programming focuses on immutability (p. 732)—not modifying ...
Read now
Unlock full access