{"id":2844,"date":"2014-11-10T19:50:53","date_gmt":"2014-11-10T18:50:53","guid":{"rendered":"https:\/\/sunpig.com\/martin\/?p=2844"},"modified":"2014-11-10T19:50:53","modified_gmt":"2014-11-10T18:50:53","slug":"boring-code","status":"publish","type":"post","link":"https:\/\/sunpig.com\/martin\/2014\/11\/10\/boring-code\/","title":{"rendered":"Boring code"},"content":{"rendered":"<p>tef &#8211; <a href='http:\/\/programmingisterrible.com\/post\/102153932958\/how-i-write-software'>How I write software<\/a>:<\/p>\n<blockquote><p>\nIn the end, I\u2019m just trying to write code that doesn\u2019t require keeping it all in my head when I read or change it. I find layering my code and splitting the business logic into components helps a bit, but really I try to write code that won\u2019t confuse me later on, or worse, terrify me.<\/p>\n<p>I try to write boring code.\n<\/p><\/blockquote>\n<p>Keep your product interesting and your code boring. :+1: See also: <a href=\"http:\/\/whatever.scalzi.com\/2010\/06\/16\/the-failure-state-of-clever\/\">The failure mode of clever is &#8220;asshole&#8221;.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>tef &#8211; How I write software: In the end, I\u2019m just trying to write code that doesn\u2019t require keeping it all in my head when I read or change it. I find layering my code and splitting the business logic into components helps a bit, but really I try to write code that won\u2019t confuse &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/sunpig.com\/martin\/2014\/11\/10\/boring-code\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Boring code&#8221;<\/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":[],"tags":[],"class_list":["post-2844","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/posts\/2844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/comments?post=2844"}],"version-history":[{"count":2,"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/posts\/2844\/revisions"}],"predecessor-version":[{"id":2847,"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/posts\/2844\/revisions\/2847"}],"wp:attachment":[{"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/media?parent=2844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/categories?post=2844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/tags?post=2844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}