Home Segments Index Top Previous Next

321: Mainline

Note that the simple case—the one for which the result is computed directly—is handled by the base part of the method definition.

The harder case—the one in which the result is computed indirectly, via a solution to another problem—is handled by the recursive part of the method definition.