{"id":997,"date":"2010-03-14T22:32:31","date_gmt":"2010-03-15T05:32:31","guid":{"rendered":"http:\/\/juixe.com\/techknow\/?p=997"},"modified":"2010-03-14T22:32:31","modified_gmt":"2010-03-15T05:32:31","slug":"zombie-code","status":"publish","type":"post","link":"http:\/\/juixe.com\/techknow\/index.php\/2010\/03\/14\/zombie-code\/","title":{"rendered":"Zombie Code"},"content":{"rendered":"<p>In this conversation tweet snippet I rant about dead code when someone noted that in a Murphy&#8217;s Law sort of way, you don&#8217;t need dead code until you delete it.  Thank goodness for version control systems.<\/p>\n<p><b>Zombie Code<\/b><\/p>\n<ul>\n<li>@techknow: It is a dead end maintaining dead code, unused, and unreachable code.<\/li>\n<li>@archiloque There is something schr\u00c3\u00b6dingerian about dead code: it is often unreachable *until* you remove it.<\/li>\n<li>@techknow: LOL my question is, if you have dead code in a live site is that considered zombie code or sleeper cell code?<\/li>\n<\/ul>\n<p>Here I question how evil Google really is when a friend warns me that whatever you say about Google may be used against you by going viral.  Google is big brother and it&#8217;s CEO thinks we can place our trust in it before our governments.  I can&#8217;t wait until Google hires Hilary Clinton as the Senior Vice President of the Division of State at Google.<\/p>\n<p><b>Indexable<\/b><\/p>\n<ul>\n<li>@techknow Google, if you are not evil why you have to make that your motto? Who are you trying to convince?<\/li>\n<li>@vladgur: Don&#8217;t hate Google on an indexable medium.<\/li>\n<li>@techknow: Good advice, Google&#8217;s cache does not forget.<\/li>\n<\/ul>\n<p>Spaghetti Code is when the code is so convoluted that it&#8217;s code path resembles a plate of entangled spaghetti.  Here I rant about working with code base that smells like a bad plate of spaghetti.<\/p>\n<p><b>Code for Dinner<\/b><\/p>\n<ul>\n<li>@techknow: It is possible to make Spaghetti Code out of Obeject Oriented Programmmmmming.  Om nom nom.<\/li>\n<li>@mcory1: Possible? Heck, its pretty easy sometimes, even if you know what you&#8217;re doing ;)<\/li>\n<li>@techknow: I&#8217;m working on some code that looks like a cross between Spaghetti Code and Lasagna Code. I need a bottle of wine to digest\/debug this.<\/li>\n<\/ul>\n<p>Chat Roulette is one of those ideas that are so simple that they are genius.  Here a friend and I compare and contrast between Chat Roulette and the MTV television show Jersey shore.<\/p>\n<p><b>Jersey Roulette<\/b><\/p>\n<ul>\n<li>@techknow: MTV or VH1 should do a reality show based on chat roulette.<\/li>\n<li>@jzy: It&#8217;s called Jersey Shore.<\/li>\n<li>@techknow: LOL from what I have seen of Jersey Shore, I would think they used chat roulette to cast the show.<\/li>\n<li>@jzy: I was just joking of course, no offense to Chatroulette.<\/li>\n<li>@techknow: All kidding aside, I think chat roulette is a great idea. It reminds me of the early days of Twitter, I wish they had an open API.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In this conversation tweet snippet I rant about dead code when someone noted that in a Murphy&#8217;s Law sort of way, you don&#8217;t need dead code until you delete it. Thank goodness for version control systems. Zombie Code @techknow: It is a dead end maintaining dead code, unused, and unreachable code. @archiloque There is something [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":""},"categories":[19,21,3],"tags":[130,129,30,52,804,50,28,128],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p902K-g5","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts\/997"}],"collection":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/comments?post=997"}],"version-history":[{"count":3,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts\/997\/revisions"}],"predecessor-version":[{"id":1015,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts\/997\/revisions\/1015"}],"wp:attachment":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/media?parent=997"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/categories?post=997"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/tags?post=997"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}