Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Skill

Software Design Principles

Evaluate and improve a codebase's structure using coupling, cohesion, SOLID and information hiding, and explain what each change makes cheaper.

Intermediate1 roadmap

4 objectives 6 steps about 125 min

Learn it step by step

Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.

Start learning

This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.

Learning objectives

  • Identify coupling and cohesion problems in a module and classify them by connascence type and strength.
  • Apply SOLID principles to refactor a class design, stating which future change each refactoring makes cheaper.
  • Judge when DRY, YAGNI or abstraction-first advice should be overridden, giving a concrete reason.
  • Reduce coupling with the Law of Demeter, command-query separation, inversion of control and a functional core with an imperative shell, and explain what each makes easier to test or change.

Lesson plan

6 steps, about 125 min · 5 of 5 lessons available so far

Practise it

Take a 300-800 line module from your own or an open-source codebase, list five coupling or cohesion issues with their connascence type, refactor two of them under passing tests (one by separating a pure functional core from its I/O shell), and write one paragraph per change on the future change it makes cheaper.

Build it from scratch

Practice builds that exercise this skill by re-creating a real technology.

Browse 4 tutorials that practise it

References

Hard prerequisites

None.

Unlocks

On these roadmaps

Progress and evidence for this skill are shared across all of them.