Leaky Abstractions

Hiding implementation details from the user makes your UI model easier to understand. But it creates a different problem: whenever some of the hidden implementation details leak to the user, it will not match his mental model of how your product behaves.

Going back to the earlier example of somebody buying a movie, let’s say that same person now wants to buy a movie for her sister. Her mental model of buying a movie as a gift is simple:

  1. Go to a store.

  2. Browse through a number of movies until she finds one her sister likes.

  3. Exchange money for a DVD.

  4. Wrap the DVD in nice wrapping paper.

  5. Deliver the wrapped DVD to her sister.

When it comes to buying a movie for her sister online, this user’s mental model breaks down. The UI model ...

Get Designed for Use now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.