Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
show-titlefalse
titleDescription
Quote External
source-urihttp://canonical.org/~kragen/tao-of-programming.html#book4
authorGeoffrey James
author-urihttps://www.goodreads.com/author/show/155036.Geoffrey_James
sourceThe Tao of Programming
source-date1987

A program should follow the `Law of Least Astonishment'. What is this law? It is simply that the program should always respond to the user in the way that astonishes him least.

Quote External
authorJ. H. Saltzer, Frans Kaashoek
sourcePrinciples of computer system design: an introduction
source-date2009

People are part of the system. The design should match the user's experience, expectations, and mental models.

Same things should be handled the same. Similar things should be handled similar. This way readers have an easier job to locate the information they are looking for.

Readers expect a common structure for documents and the documentation. Diagrams and language should be similar throughout the documentation.

Consistency increases the predictability and reduce distraction. Systems following this principle are easier to learn.

...