Principle of least astonishment (English Wikipedia)

Analysis of information sources in references of the Wikipedia article "Principle of least astonishment" in English language version.

refsWebsite
Global rank English rank
2nd place
2nd place
3rd place
3rd place
1,131st place
850th place
11th place
8th place
1,091st place
936th place
1,185th place
840th place
3,959th place
3,208th place
low place
low place
155th place
138th place
5th place
5th place
3,153rd place
2,332nd place
6th place
6th place
9,662nd place
7,187th place
2,429th place
1,561st place
4,643rd place
2,973rd place
1,686th place
1,293rd place
5,469th place
3,758th place

acm.org

dl.acm.org

portal.acm.org

archive.org

  • Stansifer, Ryan D. (1995). The Study of Programming Languages. Englewood Cliffs, N.J. : Prentice Hall. p. 123. ISBN 978-0-13-726936-5. PL/I is infamous in this regard, as it converts nearly any type into any other type, sometimes with surprising results. Consider the expression 1/3 + 25. In PL/I this expression has the value 5.33333333333. Why? One-third is computed to 15 digits of precision, 14 to the right of the decimal point. Then 25 is coerced to the same precision, losing the most significant digit 2! This does raise an error in PL/I, but the default is to ignore it. This first appeared in print in Barron 1968, where it is given as a violation of a folk law of language design: 'the law of least astonishment.'

atlassian.com

confluence.atlassian.com

books.google.com

canonical.org

catb.org

computerworld.com

doi.org

freebsd.org

docs.freebsd.org

ibm.com

  • Seebach, Peter (2001-08-01). "The Principle of Least Astonishment". The cranky user. IBM DeveloperWorks. Retrieved 2014-01-23.
  • "Enterprise PL/I for z/OS 5.3 - Language Reference" (PDF). IBM. March 2021. pp. 57–62. Consider the following expression: 25+1/3. The result of evaluating this expression is undefined and the FIXEDOVERFLOW condition is raised because FIXED division results in a value of maximum implementation defined precision. [...] The results of the two evaluations are reached as shown in Table 29.

mozilla.org

developer.mozilla.org

  • "parseInt()", Mozilla Developer Network (MDN), 15 March 2024, If the input string begins with "0" (a zero), radix is assumed to be 8 (octal) or 10 (decimal). Exactly which radix is chosen is implementation-dependent. ECMAScript 5 clarifies that 10 (decimal) should be used, but not all browsers support this yet.

semanticscholar.org

api.semanticscholar.org

stackoverflow.com

support.google.com

tufts.edu

cs.tufts.edu

  • Cowlishaw, M. F. (1984). "The design of the REXX language" (PDF). IBM Systems Journal. 23 (4): 333. doi:10.1147/sj.234.0326. Retrieved 2014-01-23. Could there be a high astonishment factor associated with the new feature? If a feature is accidentally misapplied by the user and causes what appears to him to be an unpredictable result, that feature has a high astonishment factor and is therefore undesirable. If a necessary feature has a high astonishment factor, it may be necessary to redesign the feature.

uwaterloo.ca

plg.uwaterloo.ca

worldcat.org

search.worldcat.org