Design vs. Implementation

Most decisions involved in a process should be discovered during the design phase, before implementation (coding) begins. The implementation phase then remains primarily a process of translation.

Conditionals (decisions) can be represented as flow charts, as shown in Figure 19.1, “Flowchart for a simple conditional”. This is often helpful for grasping the high-level structure of the algorithm.

Figure 19.1. Flowchart for a simple conditional

Flowchart for a simple conditional