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
18/03/2008 21:43:02
 
 
À
18/03/2008 14:15:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01302927
Message ID:
01303237
Vues:
14
>I just think of refactoring being to the coding process as editing and rewriting is to writing process. Sometimes it is a good idea to go back and look at something you've written before and see if it reads as well cold as it did hot and if you'd say it differently now that you have the context of the rest of the piece.
>

I like that analogy. (You knew I would, right, given my various experiences.) Real writing, that is, writing for publication or for preservation of any sort (documentation, for example) requires editing. Not just proof-reading, but a real consideration of the structure and the organization.

Debugging, I think, can be seen as analogous to proof-reading. Refactoring, then, is editing.

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform