Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What exactly is refactoring, and how can I do it in VFP.
Message
From
15/04/2008 14:04:42
 
 
To
18/03/2008 09:22:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01302927
Message ID:
01310818
Views:
8
>I've heard a lot about "refactoring" your code... Can someone explain exactly what this is, and give me a before and after example of some code that has been "refactored". Is there a tool that does this in VFP? I think .NET has some of this built in Visual Studio 2008, and you can buy 3rd party tools.
>
>Am I missing something big here, or is it just a bunch of mighter-than-thou hot air to make me feel stupid?

Refactoring is like tidying up. You refactor your code to clean out anything that you can do more simply or modularly. You add in checks for conditions that could make the code crash. You clarify variable names and comment not so obvious processes for future reference.

I am not aware of a tool that will do this for you!

Good luck!
Carole Shaw
Fred Hutchinson Cancer Research Center

Eagles may soar, but weasels don't get sucked into jet engines.
Previous
Reply
Map
View

Click here to load this message in the networking platform