volume_mute

Encapsulation Assumption in Layered Systems

publish date2026/06/23 19:43:6.333929 UTC

volume_mute

Why is the assumption that changes within one layer of a legacy system will not affect adjacent layers an oversimplification?

Correct Answer

Because changing one layer can introduce new facilities that higher layers are then modified to exploit, and changes can also ripple to lower layers such as hardware

Explanation

In practice, simple encapsulation between layers is an oversimplification. Changing one layer may introduce new facilities that higher layers are modified to take advantage of, and changes can also require new hardware, demonstrating that changes ripple in both directions, not just within a single layer.

Reference

Software Engineering, Ian Sommerville, 10th edition


Quizzes you can take where this question appears