Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Joel on Software
Message
From
19/05/2005 02:17:14
 
 
To
17/05/2005 02:21:17
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01014573
Message ID:
01015706
Views:
21
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,
Previous
Reply
Map
View

Click here to load this message in the networking platform