Re: My First C# (warning - long post)



andrewmcdonagh wrote:
Ok, so I downloaded and installed vs2005 express, loaded your class
and started using the 'refactoring -> extract method' right click menu
option....

Here's what I've got so far....(if you paste it into your
vs2005...you'll need to spend a few minutes sorting out the line wraps
that posting it to here causes...)

Very cool. I'll be going from this (probably shortening some of those method names), but I like it. :)

[snipped to save bits]

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ / \ / ~ Live from Montgomery, AL! ~
~ / \/ o ~ ~
~ / /\ - | ~ daniel@thebelowdomain ~
~ _____ / \ | ~ http://www.djs-consulting.com ~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ GEEKCODE 3.12 GCS/IT d s-:+ a C++ L++ E--- W++ N++ o? K- w$ ~
~ !O M-- V PS+ PE++ Y? !PGP t+ 5? X+ R* tv b+ DI++ D+ G- e ~
~ h---- r+++ z++++ ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

"Who is more irrational? A man who believes in a God he doesn't see, or a man who's offended by a God he doesn't believe in?" - Brad Stine
.



Relevant Pages

  • Re: Delphi 2006... The Beast! The Best !
    ... > I've used both "Rename" and ... > "Extract Method" in this proof of concept console app I dreamed up that as ... this is the big draw of refactoring. ... having to worry about mistakes. ...
    (borland.public.delphi.non-technical)
  • 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)
  • Re: Code Coverage and QC
    ... actually be refactoring. ... I am fairly comfortable with my understanding of the book. ... written down the safe steps in the catalog". ... The steps involved in "Extract Method", are on page 111 of the edition ...
    (comp.object)
  • Re: Refactoring not happening
    ... Yes I have watched your BDNtv episode and it was riveting! ... even, but no 'Extract Method'? ... > Sean wrote: ... > Have you watched my BDNtv episode on refactoring? ...
    (borland.public.delphi.non-technical)
  • Refactoring: Extract method revisited
    ... so now I'm happily refactoring. ... it appears to forget to remove redundant begin-end blocks, ... var i,x:integer; ... Select the two lines inside the loop and invoke Extract method. ...
    (borland.public.delphi.non-technical)