Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Joel on Software
Message
De
19/05/2005 02:17:14
 
 
À
17/05/2005 02:21:17
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01014573
Message ID:
01015706
Vues:
23
The only argument against hungarian notation, I think, is that hungarian variable names don't make good column titles or labels. That is not chicken feed but you can get around it by (creating and) calling a TrimHungarian() function whenever you need a title. You can place the calls in a class so you don't have to remember to make them each time.


>>I'd like to know why anyone would consider Hungarian = Bad. Hungarian may be unnecessary if the language is strongly typed, but it's not *bad*.
>
>Hungarian notation was invented for the C programming language. It has its great value in strong (strict) typed languages has you carefully have to match types. In weak (dynamic) typed languages it is less important, casting from double to int to numeric is done automatically: there is less need to be aware of the exact type. In VFP we have only: character, boolean, numeric, date, datetime and object as base types. Therefore there is less technical need to distinguis between derived types like int, float, double and memo and text.
>
>Walter,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform