{"id":1042,"date":"2010-02-25T07:18:49","date_gmt":"2010-02-25T12:18:49","guid":{"rendered":"http:\/\/crazedmonkey.com\/blog\/links\/branch-by-abstraction.html"},"modified":"2010-02-25T07:18:49","modified_gmt":"2010-02-25T12:18:49","slug":"branch-by-abstraction","status":"publish","type":"post","link":"http:\/\/crazedmonkey.com\/blog\/links\/branch-by-abstraction.html","title":{"rendered":"Branch By Abstraction"},"content":{"rendered":"<p>Branch By Abstraction is a development technique whereby an introduction of a destructive change is preceded by an abstraction phase. This abstraction phase involves abstracting the affected code, updating its dependent code to use the abstraction, introducing a second unit-tested implementation, updating the code again and, lastly, deprecating and destroying the old implementation. I did something like this back in my Java days in code which was crippled by Java&#8217;s static typing. I haven&#8217;t required this technique in years. My code is usually loosely-coupled, uses an agnostic naming convention, and leverages libraries which, in turn, abstract further functionality. I don&#8217;t code so much anymore; I just put the right pieces together in a pleasing fashion. It&#8217;s like playing blocks. Don&#8217;t tell my employer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Branch By Abstraction is a development technique whereby an introduction of a destructive change is preceded by an abstraction phase. This abstraction phase involves abstracting the affected code, updating its dependent code to use the abstraction, introducing a second unit-tested implementation, updating the code again and, lastly, deprecating and destroying the old implementation. I did&nbsp;&hellip;&nbsp;<a class=\"read_more\" href=\"http:\/\/crazedmonkey.com\/blog\/links\/branch-by-abstraction.html\" rel=\"bookmark\" title=\"Continue reading &ldquo;Branch By Abstraction&rdquo;\"><span>Read more<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[33],"tags":[],"_links":{"self":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/posts\/1042"}],"collection":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/comments?post=1042"}],"version-history":[{"count":0,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/posts\/1042\/revisions"}],"wp:attachment":[{"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/media?parent=1042"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/categories?post=1042"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/crazedmonkey.com\/blog\/wp-json\/wp\/v2\/tags?post=1042"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}