Free practice · ordering · medium

Practice

Review a decomposed solution

Order the evidence path for reviewing a decomposed program.

Solution architecture

Focused responsibilities create visible data boundaries

Responsibility
One reason for each unit to change
Naming
Business meaning visible at call sites
Scope
Local state by default
Interface
Explicit parameters and returned values
Side effects
Confined to a narrow boundary

A reviewable beginner program separates validation, calculation, formatting, and side effects through explicit parameters and returned values.

Arrange in the correct order
  1. 1. Run the complete acceptance workflow and document results
  2. 2. Check each unit's normal and boundary behavior
  3. 3. Trace data through parameters and return values
  4. 4. Map each requirement to one focused unit
  5. 5. Confirm the end-to-end problem contract