Posts Tagged ‘Extract Function’

  • C/C++ Refactoring – Clone detection

    on Nov 12, 10 • by Alen Zukich • with 1 Comment

    clone

    As we have posted in the past, refactoring is a very useful technology to help developers become more productive.  I wanted to take a deeper look at how certain refactorings such as “Extract Function/Method” and “Introduce Variable” can be further enhanced with clone detection.   For the focus of this post I will concentrate just on Extract Function/Method.  Say I create some code that I know I will use frequently.  It would make more sense to create a reusable function/method.  Of course I can add a function to my file then pass the proper parameters

    Read More »
Scroll to top