Re: Delphi 2006... The Beast! The Best !



"Brion L. Webster" <brion.webster@xxxxxxxxxxxxxxxxxxxxxx> wrote in message
<43c44d13@xxxxxxxxxxxxxxxxxxxxxx>
> I've used both "Rename" and
> "Extract Method" in this proof of concept console app I dreamed up that as
> soon as I mentioned it to someone else here, became an immediate need that
> had to be deployed now.
>
> Went from tangled spaghetti to somewhat decently organized procedures that
> actually make sense in about two minutes, with no copy & paste mistakes.
> Very nifty.

Yes, this is the big draw of refactoring. You can reorganize your code without
having to worry about mistakes. Poorly named variables can be easily renamed,
without having to worry about accidentally renaming same-named variables or
constants in other classes. Huge blocks of procedural code can be atomized into
manageable groups of methods. Etc.

Now that I have refactoring available, I find that I can quickly code something
to work, then once it works I can quickly beautify it to make sure I or someone
else can read it later. As a result I worry first about function, then about
form, instead of trying to multitask the two goals at the same time. Makes the
process so much more manageable.

Until someone has actually tried it, I think it is hard for them to realize
just how useful refactoring tools can be.

--
Jake's Blog:
http://blogs.slcdug.org/jjacobson/

***Free Your Mind***


Posted with JSNewsreader Preview 1.0.4.1949


.



Relevant Pages

  • Re: 2005 opinion improving
    ... >>His favorite feature is ... >>refactoring (extract method and rename in particular). ... The rename would be neater if it could also change things like the ...
    (borland.public.delphi.non-technical)
  • Re: After a few days with VS.NET 2005
    ... It's called "RENAME" under refactoring. ... see a class in a concise manner like you could in C++, Delphi, etc. ... and not because the Delphi language requires ...
    (borland.public.delphi.non-technical)
  • Re: Rename ignores extra files
    ... used as a 'test' for trying out control arrangments and property ... settings in an attempt to duplicate another problem with a 3rd party ... As for refactoring ... I have to manually rename them as well. ...
    (microsoft.public.vstudio.general)
  • Re: Two Small Suggestions
    ... The reason it works as it does is because if you rename at any other ... preserving refactoring. ... safer to rename at global scope (ignoring external dependencies such as ...
    (comp.lang.smalltalk.dolphin)
  • Refactoring problems
    ... When I tried to use 'extract method' on a piece of code of about 20 lines ... within this unit delphi generated an error message (before the extract ... This is not an occasional crash, but it happens every time I try to do an ... I figured that maybe the refactoring ...
    (borland.public.delphi.non-technical)