How do you recognize good vs bad design?

A lot of people think that design is just about making things look pretty.
It’s not. “Pretty” is just a byproduct of good design. Here’s how to recognize it.