15.04.2018 Views

programming-for-dummies

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

304<br />

Designing a User Interface<br />

Hide unusable options<br />

At any given time, the users should know what they can do. Un<strong>for</strong>tunately,<br />

poor user interfaces either<br />

✦ Expect the user to know what to do next.<br />

✦ Bombard the user with so much in<strong>for</strong>mation that the user still doesn’t<br />

know what to do next.<br />

The command-line prompt is an example of a poor user interface that<br />

expects that the user already knows all valid commands and how to spell<br />

them. If you don’t know which commands may be valid, the user interface<br />

won’t help you.<br />

Even worse than sparse user interfaces are user interfaces that show too<br />

much in<strong>for</strong>mation, such as the pull-down menus in Figure 10-18. The program<br />

in this figure displays an Attribute submenu within the Text menu title.<br />

Figure 10-18:<br />

This<br />

program’s<br />

pull-down<br />

menu lets<br />

you view a<br />

bunch of<br />

submenus<br />

that you<br />

can’t<br />

access.<br />

However, every option on the Attribute submenu appears dimmed, which<br />

makes the Attribute submenu useless. Why bother showing the users commands<br />

that they can’t use? Not only does this frustrate the user, but the user<br />

never knows when any of the Attribute commands might appear undimmed<br />

and available <strong>for</strong> use.

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

Saved successfully!

Ooh no, something went wrong!