Re: Tools for C/C++
Keith Ray <[email protected]> Tue, 21 Sep 2010 15:26:24 -0700
| Newsgroups | gmane.comp.programming.refactoring |
|---|---|
| Message-ID | <[email protected]> |
Eclipse does Extract Method (Extract Function), and Rename, and Extract Constant... this works better with C++ code than it does with C code. Visual Assist X does Extract Method faster than Eclipse does, but sometimes creates code that won''t compile. That same code would have been refactored correctly by Eclipse. When Eclipse fails to do to Extract Method with C code, it creates code that won't compile and is obviously wrong. On Windows, I would say Visual Assist X wins by being faster and having more refactorings available. [I wonder if switching languages would go over better with these programmers than switching text editors.] On Tue, Sep 21, 2010 at 10:36 AM, Richard <[email protected]> wrote: > > > > In article <[email protected] <4C98C6F1.6030305%40mayford.ca>>, > > Dave Rooney <[email protected] <dave.rooney%40mayford.ca>> writes: > > > In essence, I don't believe the editor is the most pressing problem. I > > would prefer that the developers learn what needs to the changed and how > > to change it manually anyway. Having automated tools to assist would be > > helpful, but having developers who know how to write clean and fresh > > smelling code would be much better. > > So far the best automated refactoring tools for C++ that I've > encountered are add-ons for Visual Studio. I wrote up a comparison > review here: > < > http://legalizeadulthood.wordpress.com/2009/07/12/refactoring-tools-shoot-out/ > > > > When I last looked at the refactoring support for C++ in Eclipse, it > seemed even more limited than the support provided by Visual Assist X. > IIRC, there was just Rename. That was a while ago, hopefully things > have gotten better by now. > > For other refactoring tools, you may wish to evaluate them against > this test suite I created: > < > http://legalizeadulthood.wordpress.com/2010/02/02/c-refactoring-tools-test-suite-available/ > > > > I'd love to see this become the basis for a comprehensive review of > C++ refactoring tools in any environment. > -- > "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download > <http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/> > > Legalize Adulthood! <http://legalizeadulthood.wordpress.com> > > -- -- C. Keith Ray Web: http://industriallogic.com Twitter: @CKeithRay, @IndustrialLogic Amplify Your Agility Coaching | Training | Assessment | eLearning [Non-text portions of this message have been removed] ------------------------------------ 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/