Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hungarian Notation cost you too much in VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00048156
Message ID:
00048317
Vues:
35
>>>>As said, it looks like a very good idea.
>>>>
>>>>Vlad
>>>
>>>IThinkItIsAGoodIdeaTolc
>>>
>>>:)
>>it would probably better as :
>>IThinkItIsAGoodIdea_lc
>>
>>so that the scope etc. would stand out - when it is prefix , you se it
>>immediately because it is lower case (and the first significant letter is
>>capitalized)but when it is a suffix you need something else
>>
>>IAC the advantage of the "Hungarian notation" is that it is somewhat of a
>>standard, but other than that suffix are better
>>
>>btw in FP2.x it is probably better to use suffixes (vs.. prefixes) as FP2.x
>>ignored long names and you wasted significant letters for a prefix
>>
>>Arnon
>
>wow_lc=.T. (looks at 10+ pages of app design and ponders briefly) glad I havent started much coding yet, I really like this... especially since it makes more sense.
>
>2 cents-R-Us,
>=D) Rox

would that be

wow_ll = .t. && logical value...

of course, putting scope and type on left make finding public vars left by another programmer easier to find...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform