open encyclopedia * Article Search: * *
*
*

Principle of least astonishment

From open-encyclopedia.com - the free encyclopedia.

In science, the informal principle of least astonishment, also known as the principle of maximum boredom states that the explanation which is the least astonishing and which is the most boring is usually (but not always) the right one. This can be thought of as an amalgam of Occam's razor and a presumption in favour of current theories.


In user interface design, programming language design, and ergonomics, the principle (or rule) of least surprise (or astonishment) states that, when two elements of an interface conflict or are ambiguous, the behaviour should be that which will least surprise the human user or programmer at the time the conflict arises, because the least surprising behavior will usually be the correct one.

For example, a user interface may have the behaviour that pressing Control-Q causes the program to quit. The same user interface may have a facility for recording macros, or sequence of keystrokes to be played back later, intended to be able to control all aspects of the program. The user may want to record a keystroke sequence with Control-Q as part (most likely the last part) of the macro. The principle of least surprise says that pressing Control-Q while recording a macro should not quit the program (which would surprise the user), but rather to record the keystroke.

External links

Contribute Found an omission? You can freely contribute to this Wikipedia article. Edit Article
Copyright © 2003-2004 Zeeshan Muhammad. All rights reserved. Legal notices. Part of the New Frontier Information Network.