Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'Agile series' in UT Mag - wrong on refactoring!
Message
De
13/07/2005 13:06:47
 
 
À
13/07/2005 11:56:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01032029
Message ID:
01032305
Vues:
23
>>Ah, so you do it to learn the program at hand.
>>
>>Aren't you really saying that you prefer to "learn" a program that way than to read the code carefully?... and probably because the coding style of the original is not to your liking?
>
>Spaghetti code, spaghetti code, shaghetti code... it's just sometimes too difficult to trace through without refactoring.
>
>>
>>Your "refactoring" and testing in little bits is a reasonable strategy, but you've surely got to agree that this method results in much longer development time than simply learning the existing code and changing as needed.
>
>It depends on the end goal. In my case, the end goal was to learn the entire system, document it, and improve it where needed.
>
SNIP

That's a different thing entirely.
The article is basically saying 'if you see something you don't like you SHOULD (feel obligated to) change it'. This is what I take issue with.
Something not to my liking but working is far more valuable than something I have to redevelop and test just to get it looking like I want. A wasteful effort for sure.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform