Boost logo

Boost :

From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2007-09-02 22:56:38


Andrew Sutton wrote:

> To start with, your definition of refactoring is incorrect - it
> simply preserves the external behavior of a program. I would also
> point out that in order to ensure that a program is correct it first
> has to be preprocessed, and parsed. Something as simple as renaming a
> function - which is a well-known refactoring - requires none of that.

Hmm, I wouldn't consider renaming a function a simple transformation, really.
Consider overloading. You have to do full overload resolution (one of the
most complex things in C++) in order to figure out whether a name in a
given function call needs to be changed or not.

Regards,
                Stefan

-- 
      ...ich hab' noch einen Koffer in Berlin...

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk