How to go from problem to code units

This series of videos demonstrates how you can decompose a problem and decide which code units or classes you should create. This decomposition is the foundation of the design of the application. First we analyse the problem, Then we analyse the use case, using the axis of ‘HOW’ to decide which components we can create. This lesson ends with a code overview.

Problem analysis

Use case analysis

Using the axis of how to decide on code units

Use case as the first component

The sensor model

The other components

Overview in code