{"id":764,"date":"2016-01-27T15:05:27","date_gmt":"2016-01-27T15:05:27","guid":{"rendered":"http:\/\/blog.anaara.com\/?p=764"},"modified":"2016-01-27T04:12:33","modified_gmt":"2016-01-27T04:12:33","slug":"refactoring","status":"publish","type":"post","link":"https:\/\/anaara.com\/blog\/2016\/01\/27\/refactoring\/","title":{"rendered":"Refactoring&#8230;"},"content":{"rendered":"<blockquote><p>In almost all cases, I&#8217;m opposed to setting aside time for refactoring. In my view refactoring is not an activity you set aside time to do. Refactoring is something you do all the time in little bursts. You don&#8217;t decide to refactor, you refactor because you want to do something else, and refactoring helps you do that other thing<\/p>\n<p>-Martin Fowler<\/p><\/blockquote>\n<p><a href=\"https:\/\/blog.8thlight.com\/kevin-buchanan\/2016\/01\/26\/refactoring-as-a-feature-tax.html\">Refactoring as a Feature Tax<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In almost all cases, I&#8217;m opposed to setting aside time for refactoring. In my view refactoring is not an activity you set aside time to do. Refactoring is something you do all the time in little bursts. You don&#8217;t decide to refactor, you refactor because you want to do something else, and refactoring helps you [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":763,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"quote","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[72,44],"tags":[],"class_list":["post-764","post","type-post","status-publish","format-quote","has-post-thumbnail","hentry","category-agile","category-software-architecture","post_format-post-format-quote"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v29.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Refactoring... - \/\/ A Technology Agency \/\/<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/anaara.com\/blog\/2016\/01\/27\/refactoring\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Refactoring... - \/\/ A Technology Agency \/\/\" \/>\n<meta property=\"og:description\" content=\"In almost all cases, I&#8217;m opposed to setting aside time for refactoring. In my view refactoring is not an activity you set aside time to do. Refactoring is something you do all the time in little bursts. You don&#8217;t decide to refactor, you refactor because you want to do something else, and refactoring helps you [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/anaara.com\/blog\/2016\/01\/27\/refactoring\/\" \/>\n<meta property=\"og:site_name\" content=\"\/\/ A Technology Agency \/\/\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/anaarallc\" \/>\n<meta property=\"article:published_time\" content=\"2016-01-27T15:05:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2016\/01\/360idev20150818_7735.jpeg?fit=3549%2C2366&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"3549\" \/>\n\t<meta property=\"og:image:height\" content=\"2366\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Fuad Kamal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@anaarallc\" \/>\n<meta name=\"twitter:site\" content=\"@anaarallc\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fuad Kamal\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/2016\\\/01\\\/27\\\/refactoring\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/2016\\\/01\\\/27\\\/refactoring\\\/\"},\"author\":{\"name\":\"Fuad Kamal\",\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/#\\\/schema\\\/person\\\/48a641bbae357bfb309a545861f38470\"},\"headline\":\"Refactoring&#8230;\",\"datePublished\":\"2016-01-27T15:05:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/2016\\\/01\\\/27\\\/refactoring\\\/\"},\"wordCount\":69,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/2016\\\/01\\\/27\\\/refactoring\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/anaara.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/01\\\/360idev20150818_7735.jpeg?fit=3549%2C2366&ssl=1\",\"articleSection\":[\"agile\",\"Software Architecture\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/anaara.com\\\/blog\\\/2016\\\/01\\\/27\\\/refactoring\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/2016\\\/01\\\/27\\\/refactoring\\\/\",\"url\":\"https:\\\/\\\/anaara.com\\\/blog\\\/2016\\\/01\\\/27\\\/refactoring\\\/\",\"name\":\"Refactoring... - \\\/\\\/ A Technology Agency \\\/\\\/\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/2016\\\/01\\\/27\\\/refactoring\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/2016\\\/01\\\/27\\\/refactoring\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/anaara.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/01\\\/360idev20150818_7735.jpeg?fit=3549%2C2366&ssl=1\",\"datePublished\":\"2016-01-27T15:05:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/2016\\\/01\\\/27\\\/refactoring\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/anaara.com\\\/blog\\\/2016\\\/01\\\/27\\\/refactoring\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/2016\\\/01\\\/27\\\/refactoring\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/anaara.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/01\\\/360idev20150818_7735.jpeg?fit=3549%2C2366&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/anaara.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/01\\\/360idev20150818_7735.jpeg?fit=3549%2C2366&ssl=1\",\"width\":3549,\"height\":2366},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/2016\\\/01\\\/27\\\/refactoring\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/anaara.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Refactoring&#8230;\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/anaara.com\\\/blog\\\/\",\"name\":\"\\\/\\\/ A Technology Agency \\\/\\\/\",\"description\":\"Mobile Strategy &amp; Development\",\"publisher\":{\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/anaara.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/#organization\",\"name\":\"\\\/\\\/ A Technology Agency \\\/\\\/\",\"url\":\"https:\\\/\\\/anaara.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/anaara.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/anaara-logo-cmyk.png?fit=810%2C528&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/anaara.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/anaara-logo-cmyk.png?fit=810%2C528&ssl=1\",\"width\":810,\"height\":528,\"caption\":\"\\\/\\\/ A Technology Agency \\\/\\\/\"},\"image\":{\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/anaarallc\",\"https:\\\/\\\/x.com\\\/anaarallc\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/anaara.com\\\/blog\\\/#\\\/schema\\\/person\\\/48a641bbae357bfb309a545861f38470\",\"name\":\"Fuad Kamal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7ba19726070d9cb9be92d683554ed15ed54ccb89c66abe98f22b790f5e26392e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7ba19726070d9cb9be92d683554ed15ed54ccb89c66abe98f22b790f5e26392e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7ba19726070d9cb9be92d683554ed15ed54ccb89c66abe98f22b790f5e26392e?s=96&d=mm&r=g\",\"caption\":\"Fuad Kamal\"},\"description\":\"With a background in biotechnology, Fuad began his career developing assays and cutting edge technologies around HIV research. From there he shifted into the bioinformatics arena, where he developed innovative information systems in Perl. He started playing with the Flash platform around the time Flash 4 was released, and later developed the flash interface for the Flight Information Display System (FIDS) that you see at pretty much every major airport around the world today. Fuad loves delving into new technologies and pushing technologies in novel directions. Currently he is focused on providing mobile strategy &amp; development for the Health &amp; Fitness markets. He is an iOS developer, teaches an Android &amp; Kotlin college course, and is currently writing The Kotlin Book http:\\\/\\\/thekotlinbook.com. Fuad has often applied principals he learned from his study of the martial arts to mentoring others as well as taking a unique approach to problem solving. He has found that quite often, the barriers we set before us are more mental than anything else, and the key to overcoming them lies in understanding this concept.\",\"sameAs\":[\"http:\\\/\\\/fuadkamal.org\"],\"url\":\"https:\\\/\\\/anaara.com\\\/blog\\\/author\\\/abunur\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Refactoring... - \/\/ A Technology Agency \/\/","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/anaara.com\/blog\/2016\/01\/27\/refactoring\/","og_locale":"en_US","og_type":"article","og_title":"Refactoring... - \/\/ A Technology Agency \/\/","og_description":"In almost all cases, I&#8217;m opposed to setting aside time for refactoring. In my view refactoring is not an activity you set aside time to do. Refactoring is something you do all the time in little bursts. You don&#8217;t decide to refactor, you refactor because you want to do something else, and refactoring helps you [&hellip;]","og_url":"https:\/\/anaara.com\/blog\/2016\/01\/27\/refactoring\/","og_site_name":"\/\/ A Technology Agency \/\/","article_publisher":"https:\/\/www.facebook.com\/anaarallc","article_published_time":"2016-01-27T15:05:27+00:00","og_image":[{"width":3549,"height":2366,"url":"https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2016\/01\/360idev20150818_7735.jpeg?fit=3549%2C2366&ssl=1","type":"image\/jpeg"}],"author":"Fuad Kamal","twitter_card":"summary_large_image","twitter_creator":"@anaarallc","twitter_site":"@anaarallc","twitter_misc":{"Written by":"Fuad Kamal"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/anaara.com\/blog\/2016\/01\/27\/refactoring\/#article","isPartOf":{"@id":"https:\/\/anaara.com\/blog\/2016\/01\/27\/refactoring\/"},"author":{"name":"Fuad Kamal","@id":"https:\/\/anaara.com\/blog\/#\/schema\/person\/48a641bbae357bfb309a545861f38470"},"headline":"Refactoring&#8230;","datePublished":"2016-01-27T15:05:27+00:00","mainEntityOfPage":{"@id":"https:\/\/anaara.com\/blog\/2016\/01\/27\/refactoring\/"},"wordCount":69,"commentCount":0,"publisher":{"@id":"https:\/\/anaara.com\/blog\/#organization"},"image":{"@id":"https:\/\/anaara.com\/blog\/2016\/01\/27\/refactoring\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2016\/01\/360idev20150818_7735.jpeg?fit=3549%2C2366&ssl=1","articleSection":["agile","Software Architecture"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/anaara.com\/blog\/2016\/01\/27\/refactoring\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/anaara.com\/blog\/2016\/01\/27\/refactoring\/","url":"https:\/\/anaara.com\/blog\/2016\/01\/27\/refactoring\/","name":"Refactoring... - \/\/ A Technology Agency \/\/","isPartOf":{"@id":"https:\/\/anaara.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/anaara.com\/blog\/2016\/01\/27\/refactoring\/#primaryimage"},"image":{"@id":"https:\/\/anaara.com\/blog\/2016\/01\/27\/refactoring\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2016\/01\/360idev20150818_7735.jpeg?fit=3549%2C2366&ssl=1","datePublished":"2016-01-27T15:05:27+00:00","breadcrumb":{"@id":"https:\/\/anaara.com\/blog\/2016\/01\/27\/refactoring\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/anaara.com\/blog\/2016\/01\/27\/refactoring\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/anaara.com\/blog\/2016\/01\/27\/refactoring\/#primaryimage","url":"https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2016\/01\/360idev20150818_7735.jpeg?fit=3549%2C2366&ssl=1","contentUrl":"https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2016\/01\/360idev20150818_7735.jpeg?fit=3549%2C2366&ssl=1","width":3549,"height":2366},{"@type":"BreadcrumbList","@id":"https:\/\/anaara.com\/blog\/2016\/01\/27\/refactoring\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/anaara.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Refactoring&#8230;"}]},{"@type":"WebSite","@id":"https:\/\/anaara.com\/blog\/#website","url":"https:\/\/anaara.com\/blog\/","name":"\/\/ A Technology Agency \/\/","description":"Mobile Strategy &amp; Development","publisher":{"@id":"https:\/\/anaara.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/anaara.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/anaara.com\/blog\/#organization","name":"\/\/ A Technology Agency \/\/","url":"https:\/\/anaara.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/anaara.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2015\/10\/anaara-logo-cmyk.png?fit=810%2C528&ssl=1","contentUrl":"https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2015\/10\/anaara-logo-cmyk.png?fit=810%2C528&ssl=1","width":810,"height":528,"caption":"\/\/ A Technology Agency \/\/"},"image":{"@id":"https:\/\/anaara.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/anaarallc","https:\/\/x.com\/anaarallc"]},{"@type":"Person","@id":"https:\/\/anaara.com\/blog\/#\/schema\/person\/48a641bbae357bfb309a545861f38470","name":"Fuad Kamal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/7ba19726070d9cb9be92d683554ed15ed54ccb89c66abe98f22b790f5e26392e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/7ba19726070d9cb9be92d683554ed15ed54ccb89c66abe98f22b790f5e26392e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7ba19726070d9cb9be92d683554ed15ed54ccb89c66abe98f22b790f5e26392e?s=96&d=mm&r=g","caption":"Fuad Kamal"},"description":"With a background in biotechnology, Fuad began his career developing assays and cutting edge technologies around HIV research. From there he shifted into the bioinformatics arena, where he developed innovative information systems in Perl. He started playing with the Flash platform around the time Flash 4 was released, and later developed the flash interface for the Flight Information Display System (FIDS) that you see at pretty much every major airport around the world today. Fuad loves delving into new technologies and pushing technologies in novel directions. Currently he is focused on providing mobile strategy &amp; development for the Health &amp; Fitness markets. He is an iOS developer, teaches an Android &amp; Kotlin college course, and is currently writing The Kotlin Book http:\/\/thekotlinbook.com. Fuad has often applied principals he learned from his study of the martial arts to mentoring others as well as taking a unique approach to problem solving. He has found that quite often, the barriers we set before us are more mental than anything else, and the key to overcoming them lies in understanding this concept.","sameAs":["http:\/\/fuadkamal.org"],"url":"https:\/\/anaara.com\/blog\/author\/abunur\/"}]}},"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p98TfX-ck","jetpack_likes_enabled":true,"jetpack-related-posts":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/anaara.com\/blog\/wp-content\/uploads\/2016\/01\/360idev20150818_7735.jpeg?fit=3549%2C2366&ssl=1","_links":{"self":[{"href":"https:\/\/anaara.com\/blog\/wp-json\/wp\/v2\/posts\/764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/anaara.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/anaara.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/anaara.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/anaara.com\/blog\/wp-json\/wp\/v2\/comments?post=764"}],"version-history":[{"count":1,"href":"https:\/\/anaara.com\/blog\/wp-json\/wp\/v2\/posts\/764\/revisions"}],"predecessor-version":[{"id":765,"href":"https:\/\/anaara.com\/blog\/wp-json\/wp\/v2\/posts\/764\/revisions\/765"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/anaara.com\/blog\/wp-json\/wp\/v2\/media\/763"}],"wp:attachment":[{"href":"https:\/\/anaara.com\/blog\/wp-json\/wp\/v2\/media?parent=764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/anaara.com\/blog\/wp-json\/wp\/v2\/categories?post=764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/anaara.com\/blog\/wp-json\/wp\/v2\/tags?post=764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}