{"id":1359,"date":"2021-10-01T08:00:16","date_gmt":"2021-10-01T07:00:16","guid":{"rendered":"http:\/\/www.webposible.com\/blog\/?p=1359"},"modified":"2021-09-30T07:33:55","modified_gmt":"2021-09-30T06:33:55","slug":"principios-de-diseno-de-python-el-zen-de-python","status":"publish","type":"post","link":"http:\/\/www.webposible.com\/blog\/2021\/principios-de-diseno-de-python-el-zen-de-python\/","title":{"rendered":"Principios de dise\u00f1o de Python (El Zen de Python)"},"content":{"rendered":"<blockquote lang=\"en\">\n<ol>\n<li>Beautiful is better than ugly.<\/li>\n<li>Explicit is better than implicit.<\/li>\n<li>Simple is better than complex.<\/li>\n<li>Complex is better than complicated.<\/li>\n<li>Flat is better than nested.<\/li>\n<li>Sparse is better than dense.<\/li>\n<li>Readability counts.<\/li>\n<li>Special cases aren&#8217;t special enough to break the rules.<\/li>\n<li>Although practicality beats purity.<\/li>\n<li>Errors should never pass silently.<\/li>\n<li>Unless explicitly silenced.<\/li>\n<li>In the face of ambiguity, refuse the temptation to guess.<\/li>\n<li>There should be one&#8211; and preferably only one &#8211;obvious way to do it.<\/li>\n<li>Although that way may not be obvious at first unless you&#8217;re Dutch.<\/li>\n<li>Now is better than never.<\/li>\n<li>Although never is often better than <em>right<\/em> now.<\/li>\n<li>If the implementation is hard to explain, it&#8217;s a bad idea.<\/li>\n<li>If the implementation is easy to explain, it may be a good idea.<\/li>\n<li>Namespaces are one honking great idea \u2014 let&#8217;s do more of those!<\/li>\n<\/ol>\n<\/blockquote>\n<p><cite lang=\"en\"><a href=\"https:\/\/www.python.org\/dev\/peps\/pep-0020\/\" hreflang=\"en\">PEP 20 \u2014 The Zen of Python<\/a> \u2014Tim Peters<\/cite><\/p>\n<p>Nota sobre el punto 14 (<q>Although that way may not be obvious at first unless you&#8217;re Dutch<\/q>): <span lang=\"it\">Guido<\/span> <span lang=\"nl\">van Rossum<\/span>, creador del lenguaje de programaci\u00f3n <span lang=\"en\">Python<\/span>, era holand\u00e9s.<\/p>\n<p>Observaci\u00f3n: el punto 20 de este <em lang=\"en\">Zen of Phyton<\/em> nunca se lleg\u00f3 a escribir.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;t special enough to break the rules. Although practicality beats purity. Errors should never pass silently. Unless explicitly silenced. In the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[],"class_list":["post-1359","post","type-post","status-publish","format-standard","hentry","category-programacion"],"_links":{"self":[{"href":"http:\/\/www.webposible.com\/blog\/wp-json\/wp\/v2\/posts\/1359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.webposible.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.webposible.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.webposible.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.webposible.com\/blog\/wp-json\/wp\/v2\/comments?post=1359"}],"version-history":[{"count":1,"href":"http:\/\/www.webposible.com\/blog\/wp-json\/wp\/v2\/posts\/1359\/revisions"}],"predecessor-version":[{"id":1360,"href":"http:\/\/www.webposible.com\/blog\/wp-json\/wp\/v2\/posts\/1359\/revisions\/1360"}],"wp:attachment":[{"href":"http:\/\/www.webposible.com\/blog\/wp-json\/wp\/v2\/media?parent=1359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.webposible.com\/blog\/wp-json\/wp\/v2\/categories?post=1359"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.webposible.com\/blog\/wp-json\/wp\/v2\/tags?post=1359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}