{"id":893,"date":"2014-08-27T14:19:03","date_gmt":"2014-08-27T18:19:03","guid":{"rendered":"http:\/\/alarmingdevelopment.org\/?p=893"},"modified":"2014-08-28T13:34:09","modified_gmt":"2014-08-28T17:34:09","slug":"the-future-programming-manifesto","status":"publish","type":"post","link":"https:\/\/alarmingdevelopment.org\/?p=893","title":{"rendered":"The Future Programming Manifesto"},"content":{"rendered":"<p>It&#8217;s time to reformulate the principles guiding my work.<\/p>\n<p>[Revised definition of complexity in response to misunderstandings]<\/p>\n<p><!--more--><\/p>\n<h2>Inessential complexity is the root of all evil<\/h2>\n<p>Most of the problems of software arise because it is too complicated for humans to handle. We believe that much of this complexity is unnecessary and indeed self-inflicted. We seek to radically simplify software and programming.<\/p>\n<h2>Complexity is the total learning curve<\/h2>\n<p>We should measure complexity as the cumulative cognitive effort to learn a technology from novice all the way to expert. One simple surrogate measure is the size of the documentation. This approach conflicts with the common tendency to consider\u00a0only the efficiency of experts. Expert efficiency is hopelessly confounded by training and selection biases, and often justifies making it harder to <em>become<\/em> an expert. We are skeptical of \u201cexpressive power\u201d and \u201cterseness\u201d, which are often code words for making things more mathematical and abstract. Abstraction is a two-edged sword.<\/p>\n<h2>Our institutions, culture, and psychology all foster complexity<\/h2>\n<ul>\n<li>Maintaining compatibility increases complexity.<\/li>\n<li>Technical debt increases complexity.<\/li>\n<li>Most R&amp;D is incremental: it adds features and tools and layers. Simplification requires that we throw things away.<\/li>\n<li>Computer Science rejects simplification as a result because it is subjective.<\/li>\n<li>The\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/Curse_of_knowledge\">Curse of Knowledge<\/a>: experts are blind to the complexity they have laboriously mastered.<\/li>\n<li>Rewarding programmers for their ability to handle complexity selects for those who love it.<\/li>\n<li>Our gold-rush economy encourages greed and haste.<\/li>\n<\/ul>\n<p>To make progress we must rebel against these vested interests and bad habits. There will be strong resistance.<\/p>\n<h2>Think outside the box<\/h2>\n<p>Much complexity arises from how we have partitioned software into boxes: OS, PL, DB, UI, networking; and likewise how we have partitioned software development: edit, version, build, test, deploy. We should go back to the beginning and rethink everything in order to unify and simplify. To do this we must <em>unlearn<\/em> to program, a very hard thing to do.<\/p>\n<h2>Programming for the people<\/h2>\n<p>Revolutions start in the slums. Most new software platforms were initially dismissed by the experts as toys. We should work for end-users disenfranchised by lack of programming expertise. We should concentrate on their modest but ubiquitous needs rather than the high-end specialized problems addressed by most R&amp;D. We should take inspiration from end-user tools like spreadsheets and HyperCard. We should avoid the trap of designing for ourselves.\u00a0We believe that in the long run expert programmers also stand to greatly benefit from radical simplification, but to get there we must start small.<\/p>\n<h2>Simplicity first; performance last<\/h2>\n<p>Performance is often the first excuse for rejecting new ideas. We even do it to ourselves. We must break our own habit of designing for performance: it is seductively objective and quantifiable whereas the most important design issues are messily subjective and qualitative. After all, performance optimization is one thing we have mastered.\u00a0<b>Build compelling simplicity and performance will come.<\/b><\/p>\n<h2>Disciplined design evaluation<\/h2>\n<p>Computer Science has decided that, being a Science, it must rigorously evaluate results with empirical experiments or mathematical proofs. We are not doing Science. We are doing Design: using experience and judgement to make complex tradeoffs in order to satisfy qualitative human needs. Yet we still need a disciplined way to evaluate progress. Perhaps we can learn from the methodologies of other fields like Architecture and Industrial Design. This is a meta-problem we must address.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s time to reformulate the principles guiding my work. [Revised definition of complexity in response to misunderstandings]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","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":""},"categories":[1],"tags":[],"class_list":["post-893","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pfEnU-ep","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/alarmingdevelopment.org\/index.php?rest_route=\/wp\/v2\/posts\/893","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alarmingdevelopment.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alarmingdevelopment.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alarmingdevelopment.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alarmingdevelopment.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=893"}],"version-history":[{"count":12,"href":"https:\/\/alarmingdevelopment.org\/index.php?rest_route=\/wp\/v2\/posts\/893\/revisions"}],"predecessor-version":[{"id":905,"href":"https:\/\/alarmingdevelopment.org\/index.php?rest_route=\/wp\/v2\/posts\/893\/revisions\/905"}],"wp:attachment":[{"href":"https:\/\/alarmingdevelopment.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=893"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alarmingdevelopment.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=893"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alarmingdevelopment.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}