Encapsulation
If you have to ask, “What am I looking at?” there is a good chance that what you're viewing is far from the norm. For example, you know there is an engine under the hood of a car, yet you ignore such mechanics and focus on what you're required to interact with while driving the vehicle—or so it appears. In reality, you're concerned with what it takes to get you comfortably from point A to point B. This is known as a problem domain: what requires the focus in this case is how to remain comfortable or navigate directions.
If you're attempting to understand engines but they don't relate to your occupation or a hobby, you've probably changed your focus to a new problem domain: your broken-down engine and how you can fix it.
What you ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access