![]() ![]() ![]() Youtube(6) AUTHORS Mike Putnam FILES -whats-going-on-in-tech -git-blame -choose-your-own-adventure-lockin -the-zen-of-python -organize-your-docker-stuff-with-labels -tail-foreverjs-logs -coder-cooperative -learning-to-weld -a-copper-thing -openbsd-55-released-today -what-to-make -appleton-makerspace-grand-opening -dell-xps-13-ultrabook-running-openbsd-snapshot -why-i-love-barcamp -a-simple-python-grep -dhmn-candybot-won -milwaukee-makerspace-grand-opening-road-trip -what-the-heck-is-a-barcamp -arduino-mosfet-irobot-wheels -dhmn-make-session -gladiator-girl -toward-an-appleton-wi-makerspace -madhackerhaus-1 -a-timelapse-doodle -arduino-happy-birthday-emitter -self-hosted-linux -geocaching More posts. In this first lesson, I want to introduce you to The Zen of Python by Tim Peters. Long time Pythoneer Tim Peters succinctly channels the BDFLs guiding principles for Pythons design into 20 aphorisms, only 19 of which have been written. Namespaces are one honking great idea - let's do more of ~$ If the implementation is easy to explain, it may be a good idea. If the implementation is hard to explain, it's a bad idea. The Contradictions in ‘The Zen of Python’ At the recent P圜ascades Python conference, Software engineer Christopher Neugebauer reminded attendees how foolish consistency can be a hobgoblin to productivity. ![]() There should be one- and preferably only one -obvious way to do it.Īlthough that way may not be obvious at first unless you're Dutch.Īlthough never is often better than *right* now. In the face of ambiguity, refuse the temptation to guess. Peters's Zen of Python was included as entry number 20 in the language's official Python Enhancement Proposals and was released into the public domain.3 It is also included as an Easter egg in the Python interpreter, where it can be displayed by entering import this. Special cases aren't special enough to break the rules. While these tenets were composed for Python, they apply to quite a lot of ~$ python -c "import this" It's a set of expressions which corners the spirit of the language. Python isnt clumsy or random, as JavaScript. It's one of the many aspects that adds to the awesomeness of Python. Python has been around for 30 years, and its popularity only seems to grow as it ages. BLOG(6) BLOG MANUAL BLOG(6) NAME The Zen of Python SYNOPSIS From PEP 20, The Zen of Python: Long time Pythoneer Tim Peters succinctly channels the BDFL's guiding principles for Python's design into 20 aphorisms, only 19 of which have been written down. The Zen of Python saw light for the first time in 1999. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |