15.04.2018 Views

programming-for-dummies

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Designing a User Interface 305<br />

A well-designed user interface should always show all possible choices and<br />

not overwhelm the users with choices they can’t pick anyway.<br />

Tolerate mistakes<br />

User interfaces are meant <strong>for</strong> people to use, and it’s no surprise that people<br />

make mistakes. Sometimes they type in the wrong data and sometimes they<br />

give a command that they didn’t really want to give.<br />

If you make a mistake, you should be able to<br />

✦ Undo or take back that mistake.<br />

✦ Give the right command or data.<br />

Book II<br />

Chapter 10<br />

Un<strong>for</strong>tunately, too many user interfaces don’t let users undo their mistakes,<br />

which can make the user anxious and timid because he’s afraid that if he<br />

does something wrong, he can’t ever reverse his mistake. As a result, anxious<br />

and timid users tend not to trust a program or use it to its maximum<br />

capabilities.<br />

Even worse is when user interfaces provide cryptic feedback if the user does<br />

something wrong. Examining the error message in Figure 10-19, can you tell<br />

what you might have done wrong and what you can do in the future to make<br />

sure this error message doesn’t appear again?<br />

Principles of User<br />

Interface Design<br />

Figure 10-19:<br />

A cryptic<br />

error<br />

message is<br />

meaningless<br />

and<br />

frustrating<br />

because the<br />

user never<br />

knows how<br />

to avoid this<br />

problem in<br />

the future.<br />

Cryptic messages can make users feel as if the program is scolding them. As<br />

a result, users are less likely to enjoy using the program and probably won’t<br />

take full advantage of all its features either, if they even bother using the program<br />

at all.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!