tag:blogger.com,1999:blog-5181352157149802369.post8718941337984179356..comments2023-11-28T03:48:54.412-07:00Comments on Coding When High: Why we refactor codeJonhttp://www.blogger.com/profile/03567052319139861613noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-5181352157149802369.post-71633258565487128142009-05-13T02:10:00.000-06:002009-05-13T02:10:00.000-06:00Hi Jon,
First of all, sorry for my English (i'm n...Hi Jon,<br /><br />First of all, sorry for my English (i'm not native speaker), but I'll try to explain what I think about that.<br /><br />So, the first type of refactoring coming from legends :), very very very old code-base, original team disappeared and new team could not get in to that "damn" code :).<br /><br />The second one is more realistic - we need to introduce new features, new functionality and because of this we usually change the design. <br /><br />Well, the second point looks good for explanation.Anonymoushttps://www.blogger.com/profile/03750015879788574889noreply@blogger.comtag:blogger.com,1999:blog-5181352157149802369.post-21451942179193206232009-05-08T14:00:00.000-06:002009-05-08T14:00:00.000-06:00Cool ... explanation,
even you could consider the...Cool ... explanation, <br />even you could consider the example of a old ( existing ) house and trying to re-model ( refactor ), vs re-building.PShttps://www.blogger.com/profile/14702795676970192381noreply@blogger.comtag:blogger.com,1999:blog-5181352157149802369.post-73102457925486100752009-05-05T08:27:00.000-06:002009-05-05T08:27:00.000-06:00Interesting analogy , Jon.
Especially because like...Interesting analogy , Jon.<br />Especially because like Jenga- the software does get wobbly and precarious- You just want to get it done anyhow -somehow<br /><br />Here is my take on the subject...<br /><br />I like to take the 'battle' on to the non-business manager's turf rather than explain to him the technical reasons in support of refactoring.<br /><br />Though refactoring doesn't introduce a new feature- it sets ground for newer features to come by in future.<br />E.g You may refactor the UI and thus introduce newer technologies like AJAX down the road. By cleaning the datamodel- you may allow better deployment and hence more control to Services team.<br /><br />So basically what I mean is- establish support for refactoring by showing the business advantages for doing so- it could be a new feature or a grounds for new feature a or even that it will help improve quality and reduce time to market.RNhttps://www.blogger.com/profile/07430438348232305102noreply@blogger.comtag:blogger.com,1999:blog-5181352157149802369.post-26588599637639521772009-05-04T12:22:00.000-06:002009-05-04T12:22:00.000-06:00Nice explanation...Nice explanation...Anonymoushttps://www.blogger.com/profile/05807060321562410009noreply@blogger.comtag:blogger.com,1999:blog-5181352157149802369.post-49079493317613823242009-05-04T11:52:00.000-06:002009-05-04T11:52:00.000-06:00"You know that moped you got us 2 years ago? We ne..."You know that moped you got us 2 years ago? We need you to attach this trailer to your moped"<br /><br />"Hmmm...what? It doesn't have anything to attach it with, and besides, it can't pull it. It's a moped!"<br /><br />"Well, we have business reasons to attach a trailer to a moped. Chop chop! Oh, and you have two days to figure it out"<br /><br />"Hmm...ok, I can cobble something together, but I warn you, it won't go very far."<br /><br />6 months later:<br /><br />"So, how can we increase the size of the trailer and the range the moped will go?"<br /><br />"What? I warned you 6 months ago that it wouldn't go far!"<br /><br />"Well, we have business reasons to double the weight of the trailer and triple the length of the trips. Chop chop!"<br /><br />"Will you at least give me time to, oh, I don't know, replace the damn moped with something better?"<br /><br />"What? Why would you have to spend time on that?"Anonymoushttps://www.blogger.com/profile/02183006338222968572noreply@blogger.com