{"id":3499,"date":"2011-03-22T16:20:12","date_gmt":"2011-03-22T16:20:12","guid":{"rendered":"http:\/\/monochromist.com\/2011\/03\/22\/the-zen-of-python\/"},"modified":"2011-03-22T16:20:12","modified_gmt":"2011-03-22T16:20:12","slug":"the-zen-of-python","status":"publish","type":"post","link":"https:\/\/monochromist.com\/notes\/2011\/03\/22\/the-zen-of-python\/","title":{"rendered":"The Zen of Python"},"content":{"rendered":"<p>Beautiful is better than ugly.<\/p>\n<p>Explicit is better than implicit.<\/p>\n<p>Simple is better than complex.<\/p>\n<p>Complex is better than complicated.<\/p>\n<p>Flat is better than nested.<\/p>\n<p>Sparse is better than dense.<\/p>\n<p>Readability counts.<\/p>\n<p>Special cases aren&rsquo;t special enough to break the rules.<\/p>\n<p>Although practicality beats purity.<\/p>\n<p>Errors should never pass silently.<\/p>\n<p>Unless explicitly silenced.<\/p>\n<p>In the face of ambiguity, refuse the temptation to guess.<\/p>\n<p>There should be one&ndash; and preferably only one &ndash;obvious way to do it.<\/p>\n<p>Although that way may not be obvious at first unless you&rsquo;re Dutch.<\/p>\n<p>Now is better than never.<\/p>\n<p>Although never is often better than right now.<\/p>\n<p>If the implementation is hard to explain, it&rsquo;s a bad idea.<\/p>\n<p>If the implementation is easy to explain, it may be a good idea.<\/p>\n<p>Namespaces are one honking great idea &ndash; let&rsquo;s do more of those!<\/p>\n<p>via\u00a0<a href=\"http:\/\/www.python.org\/doc\/humor\/#the-zen-of-python\">http:\/\/www.python.org<\/a><\/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&rsquo;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":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-3499","post","type-post","status-publish","format-standard","hentry","category-video_graphics"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5sGHy-Ur","jetpack-related-posts":[{"id":3018,"url":"https:\/\/monochromist.com\/notes\/2011\/05\/06\/alternative-economics-alternative-societies\/","url_meta":{"origin":3499,"position":0},"title":"&ldquo;Alternative Economics, Alternative Societies&rdquo;, Oliver\u2026","author":"monochromist","date":"May 6, 2011","format":"gallery","excerpt":"\u201cAlternative Economics, Alternative Societies\u201d, Oliver Ressler | new media center_kuda.org The exhibition \u201cAlternative Economics, Alternative Societies\u201d focuses on diverse concepts and models for alternative economies and societies, which all have in common a rejection of the capitalist system of rule. In the specific context of Serbia and Montenegro, which is\u2026","rel":"","context":"In &quot;motion&quot;","block_context":{"text":"motion","link":"https:\/\/monochromist.com\/notes\/category\/video_graphics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/monochromist.com\/notes\/wp-content\/uploads\/2011\/05\/tumblr_lkso2y77lw1qzsz45o1_250.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":5225,"url":"https:\/\/monochromist.com\/notes\/2011\/03\/07\/black-box\/","url_meta":{"origin":3499,"position":1},"title":"Black box","author":"monochromist","date":"March 7, 2011","format":"link","excerpt":"Black boxBlack Boxes- the \u201chiding\u201d of aspects of an artifact- should be understood as both literal (in the case of most computers, including the\u00a0NeXT Step), as well as metaphorical in regards to the artifact\u2019s history, possible uses, and technical considerations decided during its development. Media artifacts typically present themselves as\u2026","rel":"","context":"In &quot;motion&quot;","block_context":{"text":"motion","link":"https:\/\/monochromist.com\/notes\/category\/video_graphics\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2671,"url":"https:\/\/monochromist.com\/notes\/2012\/04\/06\/unless-you-are-willing-to-embrace-the-future-how\/","url_meta":{"origin":3499,"position":2},"title":"Unless you are willing to\u2026","author":"monochromist","date":"April 6, 2012","format":"quote","excerpt":"Unless you are willing to embrace the future, how in God\u2019s name can you remain as the leaders? I think the good American people must come around, and will come around, to the idea that the oil companies and all that, you cannot be taken hostage by them, however much\u2026","rel":"","context":"In &quot;motion&quot;","block_context":{"text":"motion","link":"https:\/\/monochromist.com\/notes\/category\/video_graphics\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":764,"url":"https:\/\/monochromist.com\/notes\/2013\/08\/08\/its-deplorable-that-sexually-adventurous-young\/","url_meta":{"origin":3499,"position":3},"title":"It\u2019s deplorable that sexually adventurous\u2026","author":"monochromist","date":"August 8, 2013","format":"quote","excerpt":"It\u2019s deplorable that sexually adventurous young women are constantly told they are \u201cdegrading themselves\u201d by seeking out various experiences, that every bit of enjoyment eats away at some secret store of purity. This whole tradition\u2013the idea that women need be preserved in glass so as not to \u201cruin\u201d themselves, lest\u2026","rel":"","context":"In &quot;motion&quot;","block_context":{"text":"motion","link":"https:\/\/monochromist.com\/notes\/category\/video_graphics\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2367,"url":"https:\/\/monochromist.com\/notes\/2012\/06\/20\/we-must-shift-from-a-politic-of-desirability-and\/","url_meta":{"origin":3499,"position":4},"title":"We must shift from a\u2026","author":"monochromist","date":"June 20, 2012","format":"quote","excerpt":"We must shift from a politic of desirability and beauty to a politic of ugly and magnificence. That moves us closer to bodies and movements that disrupt, dismantle, disturb. Bodies and movements ready to throw down and create a different way for all of us, not just some of us.\u2026","rel":"","context":"In &quot;motion&quot;","block_context":{"text":"motion","link":"https:\/\/monochromist.com\/notes\/category\/video_graphics\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5408,"url":"https:\/\/monochromist.com\/notes\/2014\/10\/12\/we-must-shift-from-a-politic-of-desirability-and-2\/","url_meta":{"origin":3499,"position":5},"title":"We must shift from a\u2026","author":"monochromist","date":"October 12, 2014","format":"quote","excerpt":"We must shift from a politic of desirability and beauty to a politic of ugly and magnificence. That moves us closer to bodies and movements that disrupt, dismantle, disturb. Bodies and movements ready to throw down and create a different way for all of us, not just some of us.\u2026","rel":"","context":"In &quot;motion&quot;","block_context":{"text":"motion","link":"https:\/\/monochromist.com\/notes\/category\/video_graphics\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/monochromist.com\/notes\/wp-json\/wp\/v2\/posts\/3499","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monochromist.com\/notes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monochromist.com\/notes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monochromist.com\/notes\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monochromist.com\/notes\/wp-json\/wp\/v2\/comments?post=3499"}],"version-history":[{"count":0,"href":"https:\/\/monochromist.com\/notes\/wp-json\/wp\/v2\/posts\/3499\/revisions"}],"wp:attachment":[{"href":"https:\/\/monochromist.com\/notes\/wp-json\/wp\/v2\/media?parent=3499"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monochromist.com\/notes\/wp-json\/wp\/v2\/categories?post=3499"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monochromist.com\/notes\/wp-json\/wp\/v2\/tags?post=3499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}