Re: Chatting about Extract Class
Richard <[email protected]> Wed, 17 Mar 2010 16:41:34 -0600
| Newsgroups | gmane.comp.programming.refactoring |
|---|---|
| Organization | multi-cellular, biological |
| Message-ID | <[email protected]> |
In article <[email protected]>, Adam Sroka <[email protected]> writes: > I have used IDEA's extract class refactoring, I have also used > Eclipse's (And the one in ReSharper for C#). As often as not, though, > I create the new class and move members there as separate steps. That > works better in some circumstances. Reading the documentation for ReSharper's "Extract Class From Parameters" it doesn't quite seem like Extract Class from Fowler to me. Is that the one you used, or did you use something else? I looked at the 4.5 documentation on their web site. I haven't used this particular refactoring from ReSharper before. > I don't always use an IDE. In fact I've written a lot of code in Ruby, > Perl, and Python and I generally just use emacs for those. I don't use > a lot of advanced features in emacs, and I mostly refactor by hand. I > take small steps and run the tests a lot. That last bit is important for large manual refactorings. When faced with one of those, I definately think about how I can do things in a series of steps, such as your suggestion of creating a new empty class and moving methods one at a time. -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download <http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/> Legalize Adulthood! <http://legalizeadulthood.wordpress.com> ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/refactoring/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/refactoring/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/