Principle of Least Astonishment

Adhere to the Principle of Least Astonishment. [This principle]... suggests you should avoid doing things that will surprise a user of your software.

From the Book The Elements of Java Style, 2000, ISBN 0521777682

Copyright © 2000 by Cambridge University Press.

Tags:

No. 40