{"id":9358,"date":"2014-08-23T21:36:29","date_gmt":"2014-08-24T01:36:29","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=9358"},"modified":"2014-08-23T22:16:30","modified_gmt":"2014-08-24T02:16:30","slug":"thinking-for-programmers","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2014\/08\/23\/thinking-for-programmers\/","title":{"rendered":"Thinking for Programmers"},"content":{"rendered":"<p><a href=\"http:\/\/channel9.msdn.com\/events\/Build\/2014\/3-642\">Leslie Lamport<\/a> had a great talk at Microsoft Build 2014:<\/p>\n<blockquote cite=\"http:\/\/channel9.msdn.com\/events\/Build\/2014\/3-642\"><p>Everyone thinks they think. If you don&rsquo;t write down your thoughts, you&rsquo;re fooling yourself.<\/p>\n<p>[&#8230;]<\/p>\n<p>No programming language, no methodology, obviates the need for specification. A specification is a separate task from coding.<\/p>\n<p>[&#8230;]<\/p>\n<p>If you don&rsquo;t start with a spec, every piece of code you write is a patch.<\/p>\n<p>[&#8230;]<\/p>\n<p>Thinking doesn&rsquo;t guarantee that you won&rsquo;t make mistakes. Not thinking guarantees that you will.<\/p><\/blockquote>\n<p>Unfortunately, he doesn&rsquo;t get into an example of what you can do, e.g. model checking, with a <a href=\"http:\/\/research.microsoft.com\/en-us\/um\/people\/lamport\/tla\/tla.html\">TLA+<\/a> specification.<\/p>","protected":false},"excerpt":{"rendered":"<p>Leslie Lamport had a great talk at Microsoft Build 2014: Everyone thinks they think. If you don&rsquo;t write down your thoughts, you&rsquo;re fooling yourself. [&#8230;] No programming language, no methodology, obviates the need for specification. A specification is a separate task from coding. [&#8230;] If you don&rsquo;t start with a spec, every piece of code [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[289,672,800,971,968,71,973,969,972,970],"class_list":["post-9358","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-algorithm","tag-amazon-web-services","tag-concurrency","tag-model-checking","tag-pluscal","tag-programming","tag-quicksort","tag-specifications","tag-tla-plus","tag-xbox-360"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/9358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=9358"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/9358\/revisions"}],"predecessor-version":[{"id":9368,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/9358\/revisions\/9368"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=9358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=9358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=9358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}