Loading lesson…
Level 1 · Apprentice0 XP
Things inside a module should belong together. Modules should know little about each other.
Step 1 / 5
ProblemRenaming a field in the Order class breaks billing, shipping, emails, reports and the mobile API. Each of them read the field directly.
← → step
Before this: What software architecture is
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Pick one module and list every other module that reads its internals (tables, internal classes). Replace one of those accesses with a small public function or API.