[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    Re: New parser branch (Was: Dumping the source DOM?)
From:       Vladimir Prus <ghost () cs ! msu ! su>
Date:       2005-07-15 5:29:09
Message-ID: 200507150929.09798.ghost () cs ! msu ! su
[Download RAW message or body]

On Thursday 14 July 2005 20:19, Steven T. Hatton wrote:
> On Thursday 14 July 2005 01:34, Vladimir Prus wrote:
> > On Wednesday 13 July 2005 23:05, Daniel Franke wrote:
> > > as I understand it: code-refactoring is a buzzword for
> > > search-and-replace?!
....
> Just the ability to modify the function declaration (or definition) in an
> existing class, and have the changes reflected in the corresponding
> definition (or declaration) would be nice.  It might also be possible to
> merge or split a function definition so that one that is defined in the
> body of a class definition could be split into a declaration in the header,
> and a definition in the implementation file.  Keeping comments synchronized
> with the source code could also be helpful.  There are many, many
> possibilities.

As soon as we're in "would be nice to have" mode, one of the most important 
refactoring is "extract method" -- you have a large function and extract some 
portion of it into a separate function (passing all the local variables used 
in that block) as parameters. Would be extra handy when working on existing 
code with 200-line functions. This refactoring alone would be a great 
increase in productivity.

- Volodya



_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic