{"id":2549,"date":"2021-12-13T16:54:46","date_gmt":"2021-12-14T00:54:46","guid":{"rendered":"https:\/\/blog.bongshiny.com\/?p=2549"},"modified":"2021-12-13T16:54:46","modified_gmt":"2021-12-14T00:54:46","slug":"the-zen-of-python","status":"publish","type":"post","link":"https:\/\/blog.bongshiny.com\/?p=2549","title":{"rendered":"The Zen of Python"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Beautiful is better than ugly.<br>Explicit is better than implicit.<br>Simple is better than complex.<br>Complex is better than complicated.<br>Flat is better than nested.<br>Sparse is better than dense.<br>Readability counts.<br>Special cases aren&#8217;t special enough to break the rules.<br>Although practicality beats purity.<br>Errors should never pass silently.<br>Unless explicitly silenced.<br>In the face of ambiguity, refuse the temptation to guess.<br>There should be one&#8211; and preferably only one &#8211;obvious way to do it.<br>Although that way may not be obvious at first unless you&#8217;re Dutch.<br>Now is better than never.<br>Although never is often better than <em>right<\/em> now.<br>If the implementation is hard to explain, it&#8217;s a bad idea.<br>If the implementation is easy to explain, it may be a good idea.<br>Namespaces are one honking great idea &#8212; let&#8217;s do more of those!<\/p>\n\n\n\n<p class=\"has-text-align-right has-small-font-size wp-block-paragraph\"><font size=\"2\"><a href=\"https:\/\/www.python.org\/dev\/peps\/pep-0020\/#the-zen-of-python\">https:\/\/www.python.org\/dev\/peps\/pep-0020\/#the-zen-of-python<\/a><\/font><\/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 face of ambiguity, refuse the temptation to guess.There should be one&#8211; &hellip; <a href=\"https:\/\/blog.bongshiny.com\/?p=2549\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">The Zen of Python<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-2549","post","type-post","status-publish","format-standard","hentry","category-books"],"_links":{"self":[{"href":"https:\/\/blog.bongshiny.com\/index.php?rest_route=\/wp\/v2\/posts\/2549","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bongshiny.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bongshiny.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bongshiny.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bongshiny.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2549"}],"version-history":[{"count":4,"href":"https:\/\/blog.bongshiny.com\/index.php?rest_route=\/wp\/v2\/posts\/2549\/revisions"}],"predecessor-version":[{"id":2553,"href":"https:\/\/blog.bongshiny.com\/index.php?rest_route=\/wp\/v2\/posts\/2549\/revisions\/2553"}],"wp:attachment":[{"href":"https:\/\/blog.bongshiny.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bongshiny.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bongshiny.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}