Zen of Python redirects the guidelines for Python to 20 aphorisms, but lists only 19. What is the twentieth?

From PEP 20, Zen of Python :

For a long time, Pythoneer Tim Peters briefly translates the BDFL Python design guidelines into 20 aphorisms, a total of 19 of which are recorded.

What is this twentieth aphorism? Does this exist, or is this link just a rhetorical device to make the reader think?

(One potential answer that arises for me is that โ€œyou donโ€™t need itโ€ is the remaining aphorism. If that were the case, it would exist and act to make the reader think, and this would be characteristic playful, thereby customizing the list all the better, but web searches show that this is an extreme programming mantra, not Pythonic's inherent wisdom, so I'm at a dead end.)

+44
python
Dec 21 '10 at 22:18
source share
9 answers

I had the opportunity to ask Guido about this recently. According to him, this is "some strange Tim Peters in jest." This and / or (as he continues to say) this is an opportunity for people to provide their own supplement (as it mostly happens in answers to this question :-)).

+22
Jul 17 '14 at 23:09
source share

It should be SIGNIFICANT WHITESPACE, of course!

+14
Dec 21 '10 at 23:20
source share

Rule No. 20: No rule 20.

This replaced the old rule # 20: "You are not talking about a fighting club."

+5
Dec 21 '10 at 22:23
source share

20: "You must discover this for yourself, grasshopper."

+4
Jan 07 2018-11-11T00:
source share

20: "There are only 19"

* hand waves *

(Jedi trick)

+4
Jan 07 2018-11-11T00:
source share

I guess this is PEP 20. Very Zen.

+4
Mar 26 '14 at 1:44
source share

20: "Remember to drink your ovaltin"

+1
Jan 07 2018-11-11T00:
source share

The number of this PEP was intentionally chosen - because the PEP index does not have to be continuous - no matter how much freedom it wants.

Now the question arises, why was the number 20 chosen if 19 aphorisms were written, why didnโ€™t he name his proposal PEP19? - Here Zen began to participate.

At Zen-based Japanese sushi restaurants, customers can choose Omakase , which means โ€œI'll leave it to you,โ€ in turn (not typical, but sometimes) the sushi chef will ask customers to choose the last piece of sushi - or explore a new fish , or follow the previous one - conceptually wise this corresponds to what @Jeff Walden mentioned in his answer, where people have the opportunity to provide their own addition to complete the set.

In the end, all this is pure speculation.

+1
May 13 '17 at 18:50
source share

PEP 20: absent intentionally: which may mean: "keep yourself informed, keep looking for something new" "make your own pep 20"

-one
Apr 10 '17 at 6:08
source share



All Articles