functional programming

an advanced topic; an alternative to iteration and recursion

In CS8, we present lots of problems that use the accumulator pattern with a for loop; this method of problem solving is known as iteration.

An alternative method that we sometimes cover is recursion.

For many problems, there is a third approach using a method using tools from a technique known as functional programming.

Tutorials on Functional Programming