Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Other folks' VFP code
Message
De
21/07/2006 12:17:57
 
 
À
21/07/2006 11:58:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01138495
Message ID:
01138578
Vues:
13
There is one person whose code I look at frequently and I always make changes. That person is Doug Hennig. I don't change the working code itself. All I do is remove the stuff after the ENDIF, ENDDO, etc. Doug finds this style easier, I find it more difficult. One way is not any more or less correct than another....it's just a different in style.

>If this is working code that is "production" in nature (i.e. the business depends on it) then re-writing it should be your LAST CONSIDERATION.
>
>Sooner or later you HAVE TO learn to read and work with other people's code, and the sooner you face that music, the better off you and your clients will be.
>
>The book(s) on "refactoring" seems to have been interpreted by many as official license to re-write whatever code you may dislike. While it doesn't say that at all, it's awfully convenient to see it that way.
>
>cheers
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform