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
18/03/2008 21:43:02
 
 
To
18/03/2008 14:15:59
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01302927
Message ID:
01303237
Views:
15
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform