[Python-ideas] O –APOO– OWTDI (was: 0-base and 1-base indexed iterables? Custom slicing rules?)
Ben Finney
ben+python at benfinney.id.au
Sun Mar 22 08:54:28 CET 2015
Luciano Ramalho <luciano at ramalho.org>
writes:
> The best answer ever is by one of the most important computer
> scientists of the 20th century, Edsger W. Dijkstra -- who was also
> Dutch, like Guido van Rossum:
>
> https://www.cs.utexas.edu/users/EWD/ewd08xx/EWD831.PDF
Fascinatingly – to me, at least – Dijkstra's orthography for parenthetic
en dash is the opposite of that Tim Peters used in the thirteenth
aphorism of the Zen of Python.
Dijkstra, EWD831:
Exclusion of the lower bound –as in a) and b)– forces […]
Peters, Zen of Python:
There should be one– and preferably only one –obvious way to do it.
How wonderful to see another dimension of combinations for that style
issue, in a Dijkstra paper talking about exploring the dimensions of
another style issue :-)
--
\ “When I get new information, I change my position. What, sir, |
`\ do you do with new information?” —John Maynard Keynes |
_o__) |
Ben Finney
More information about the Python-ideas
mailing list