XpdWiki
Set your name in
UserPreferences Referenced by
JSPWiki v2.0.52
|
Playing devil's advocate and expecting to be proven wrong, could it be argued that refactoring is, in essence creative removal of duplicate code? -- NeilThorne I know one thing for sure, and that is big refactorings are usually grown out of small ones. My small ones are usually things like extract method. I need to find pieces of duplicate code that are in the new method, and then remove the duplicate lines and substitute them with the new method. I have seen postings that say that tools already exist for spotting duplicate code, but is their emphasis on Refactoring? And do these tools spot code chunks that look different but are infact the same? --NeilThorne
|