FANDOM


Em 2004 Tim Peters (colaborador da comunidade do python) escreveu o documento “Zen of Python” que contem 19 principios colocados por guido para serem influencias ao futuro da linguagem.

O “Zen of Python” foi incluso como a PEP (propostas de melhora ao python) de número 20,

No final uma filosofia principal de Python está em seu próprio nome, fazendo menção ao grupo de comediantes Monty Python a linguagem se preza de ser divertida de se utilizar e tem sua força vinda da comunidade.


Segue o texto contigo no PEP 20:

  • Beautiful is better than ugly.
  • Explicit is better than implicit.
  • Simple is better than complex.
  • Complex is better than complicated.
  • Flat is better than nested.
  • Sparse is better than dense.
  • Readability counts.
  • Special cases aren't special enough to break the rules.
  • Although practicality beats purity.
  • Errors should never pass silently.
  • Unless explicitly silenced.
  • In the face of ambiguity, refuse the temptation to guess.
  • There should be one- and preferably only one -obvious way to do it.
  • Although that way may not be obvious at first unless you're Dutch.
  • Now is better than never.
  • Although never is often better than right now.
  • If the implementation is hard to explain, it's a bad idea.
  • If the implementation is easy to explain, it may be a good idea.
  • Namespaces are one honking great idea -- let's do more of those!

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.