Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What exactly is refactoring, and how can I do it in VFP.
Message
De
15/04/2008 14:04:42
 
 
À
18/03/2008 09:22:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01302927
Message ID:
01310818
Vues:
9
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform