[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"lesson-software-architecture-design-principles-and-modularity-modularity-fundamentals-en":3,"cheat-sheet---en":3,"domain-info---en":3,"prev-software-architecture-design-principles-and-modularity-modularity-fundamentals-en":3,"next-software-architecture-design-principles-and-modularity-modularity-fundamentals-en":3,"topic-info-software-architecture-design-principles-and-modularity-modularity-fundamentals-en":4,"course-lesson-metadata-software-architecture-en":19},null,{"meta":5,"body":8},{"title":6,"description":7},"Modularity: Coupling and Cohesion","Cohesion and coupling: the two forces that decide whether a system stays changeable.",{"type":9,"value":10,"toc":15},"minimark",[11],[12,13,14],"p",{},"Every maintainable system wins the same two battles: keeping related things together and unrelated things apart. This topic defines cohesion and coupling precisely, shows how each degrades in real codebases, and ends with a worked exercise in drawing module boundaries you can justify.",{"title":16,"searchDepth":17,"depth":17,"links":18},"",3,[],{"lessons":20,"cheatSheets":21,"mockTestsAvailable":22},[],[],false]