{"id":55,"date":"2008-05-31T18:13:41","date_gmt":"2008-05-31T23:13:41","guid":{"rendered":"http:\/\/vgable.com\/blog\/2008\/05\/31\/shared-code\/"},"modified":"2008-05-31T18:22:24","modified_gmt":"2008-05-31T23:22:24","slug":"shared-code","status":"publish","type":"post","link":"https:\/\/vgable.com\/blog\/2008\/05\/31\/shared-code\/","title":{"rendered":"Shared Code"},"content":{"rendered":"<blockquote><p>I&#8217;m very picky this time about what I consider &#8220;shared&#8221; &#8212; I have to actually USE code in two different projects to consider it shared, not just think &#8220;Hmm, someday somebody may want to re-use this.&#8221; Because, in truth, most of the crap people put into shared code directories is either too specific to really be shared, OR (more commonly) it&#8217;s written in a general way but the particular app it was written for only tested some of the pathways, so it is essentially a bunch of buggy code that&#8217;s not actually being used and is waiting to trip you up.<\/p><\/blockquote>\n<p>&#8212; <a href=\"http:\/\/www.wilshipley.com\/blog\/2005\/10\/pimp-my-code-interlude-free-code.html\">Wil Shipley<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m very picky this time about what I consider &#8220;shared&#8221; &#8212; I have to actually USE code in two different projects to consider it shared, not just think &#8220;Hmm, someday somebody may want to re-use this.&#8221; Because, in truth, most of the crap people put into shared code directories is either too specific to really [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,24],"tags":[],"class_list":["post-55","post","type-post","status-publish","format-standard","hentry","category-programming","category-quotes"],"_links":{"self":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/comments?post=55"}],"version-history":[{"count":0,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts\/55\/revisions"}],"wp:attachment":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/media?parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/categories?post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/tags?post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}