Talk:Principle of least astonishment
From Wikipedia, the free encyclopedia
Contents |
[edit] Least Surprise
Almost every single reference I have seen to this principle calls it the "Principle of Least Surprise". In particular, Ruby internals developers, ESR, and the Pragmatic Programmers spring to mind as examples of relatively well known examples of people who know what they're talking about that use the POLS variation. So -- is there some specific reason that this article is the "Principle of Least Astonishment", rather than the "Principle of Least Surprise"? If there is an original formulation that uses that name, thus making it the more formally "correct" term, I'd like to know it.
Perhaps the article should make mention of why POLA is the preferred term in Wikipedia, as opposed to POLS, despite what appears to be a greater frequency of use for POLS.
additional edit: Sorry, I forgot to sign this when I first wrote it. -- Apotheon 06:24, 22 November 2006 (UTC)
- I've never heard it called anything but POLA in my nearly 40 years in the computer business, so I suspect (but cannot prove) that POLA was the first usage. BWB91380 (talk) 03:17, 10 April 2008 (UTC)
[edit] More Examples
Removing this note from the article:
TODO: It would be really helpful if there were multiple examples. I'd add, but I don't know any more (which is why I'm asking for them...) MikeSchinkel 04:34, 20 October 2006 (UTC)
Because it clearly belongs here rather than in the article. It doesnt make him less right, though.
[edit] Maximum Boredom ??
As far as I can tell, the statement that this is "also known as the principle of maximum boredom", is false. No one calls it that.
The phrase seemed odd, so I googled it, and got zero links outside of wikipedia and its clones. [google search]. Tracing the page histories, it seems to come from the Modified Newtonian Dynamics. The earliest edit on that page (17:20, 20 Nov 2001 Gareth Owen (DON'T use an abbreviation without definition ...)) includes the phrase, although the comment indicates there was probably an earlier version.
Was this an attempt by someone to popularize their pet name for the theory? Is the phrase "Principle of Maximum Boredom" a wikipedia coinage? --Key45 21:55, 15 Nov 2004 (UTC)
[edit] POV
I removed "George Polya - How to Solve it - a great wonderful book on heuristics" for being Point-of-View, and also having no link whatsoever for people to see for themselves if it's great and wonderful or not at all ;) --Hooloovoo 02:26, 10 Apr 2005 (UTC)
- This book is well covered in its own article, and as far as I can tell, has nothing to do with this article anyway. --Spalding 02:34, Apr 10, 2005 (UTC)
[edit] Not scientific
I am removing this paragraph:
- "In science, the informal principle of least astonishment states that the explanation which is the least astonishing is usually the right one. This can be thought of as an amalgam of Occam's razor and a presumption in favour of current theories."
- The idea that "the explanation which is the least astonishing is usually the right one" is untrue and unscientific. Science is full of counterintuitive discoveries: for example, homeopathy shows that medicine can be made stronger by diluting it, and hormesis shows that an organism can be made healthier by giving it small amounts of certain toxins.
-
- a) Homeopathy isn't part of science; it's what we call "pseudoscience", or sometimes "fraud". b) That's a rather misleading oversimplification of hormesis. DS 00:11, 19 December 2005 (UTC)
- Even ideas as fundamental as Spherical Earth and centripetal force were astonishing when first discovered. Scientific truths have nothing to do with whether anyone finds them astonishing or not. --Brian Kendig 21:27, 21 Jun 2005 (UTC)
- If you're going to insist that the "principle of least astonishment" is a concept used in science, or that it's also called the "principle of maximum boredom", then please provide some links to places which use it in this context. I still hold that no good scientist would discredit a theory just because it's astonishing; the greatest advances in science have been made by astonishing theories. The quote you gave (a given observation is evidence for a hypothesis if that observation is ... expected ... and an observation is evidence against a hypothesis if that observation would be ... unexpected) is a fundamental part of the scientific method; "astonishment" has nothing to do with it. --Brian Kendig 00:19, 22 Jun 2005 (UTC)
[edit] HAHA nice example
This article .. well the example given in it made me laugh out loud..
Programmer in the example is actually put to the question: I can program this macro recording in a way that is desired or a way that is undesired and result in a macro not being recorded... hmmmm which one will astonish the user the least?.....stupid..Is there not a more relavant example ?--Alex 11:43, 30 December 2005 (UTC)
[edit] Origin?
The article does not explain the origin of this phrase or idea. A bit of Googling does not come up with any real explanation. Does anyone know the real story about this? Polpo 17:17, 18 October 2006 (UTC)
- Although I can't explain the origin, I can provide a data point. The first time I heard POLA used was by a computer science instructor at Caltech in c. 1969, which certainly predates Google, the Web, and the Internet (and ties ARPANET). BWB91380 (talk) 03:19, 10 April 2008 (UTC)
[edit] least surprise??
So am I the only one who thinks this is an entirely bogus "principle"? What surprises one person is often perfectly expected to another one. In the second example, I'd be quite surprised if I issued a shutdown and the system stayed up (because someone else issued a shutdown concurrently to me and then later canceled it). In this situation there is no behaviour that will not surprise one of the two users.
I'd go so far as to assert that every single example of a true violation of this "principle" (i.e. a situation in which it can be unambiguously established which of two different behaviours is more or less surprising) is simply a bug in the underlying program.
Can anybody name any such situation where we're NOT just talking about a bug? Iron Condor 01:55, 22 May 2007 (UTC)
- I guess I'm not sure what you're saying. A violation of this principle would not usually be a bug as such, as "bug" generally means that the program is not doing what it was intended to do. A violation of the principle would be a program performing faithfully to its design, but providing a confusing interface.
- My favorite example is a convention which I believe was introduced as a feature in early Microsoft Windows, where the spacebar was a keyboard shortcut meaning "repeat the last GUI action". So, if you thought your keyboard focus was in a text window/field but it was not, and you started typing away, the first time you hit space, a seemingly arbitrary, certainly unexpected, and thus astonishing, action would take place.
- (In general, I believe any interface where an unmodified alphanumeric key performs any action other than inserting the character associated with that key is a textbook violation of this principle. And I say that as a decades-long vi user.)--NapoliRoma 05:55, 22 May 2007 (UTC)
- In my experience, the usage of POLA is as NapoliRoma states. It's usually related to design flaws (almost invariablly related to user interfaces) rather than program bugs. In the shutdown case, POLA would dictate that the user who would otherwise be surprised should be notified (i.e., if the design was to shutdown, the user who canceled should be told that another user had a concurrent shutdown request that would be honored; if the design was not to shutdown, the user who didn't cancel should be notified that the shutdown request would not be honored because another user had a concurrent shutdown request that was canceled). BWB91380 (talk) 03:31, 10 April 2008 (UTC)
In the POP system we use at work, you are required to change the status of an order to "issued" before it is paid. There are no clues in the user interface as to how to do this. I've just discovered that you do it by emailing the order to yourself. ...Well, I was damn well astonished. 78.148.107.138 (talk) 11:30, 14 February 2008 (UTC)

