Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Love Note
Message
From
11/05/2009 22:09:01
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
01398424
Message ID:
01399318
Views:
73
>I have been moving away from Hungarian notation, too, but don't see why prefixes can't type fields as long as you follow the naming convention(s) correctly.
>

I do Hungarian notation so instinctively it is hard to wean myself from it, but it is pretty cool to be able to jump immediately to the declaration.

And I don't know if it is native VS 2008 or Resharper but when I hover over a property or variable I see tooltip with the declaration showing data type.

Field names I am still wrestling with, but since a lot of the data I'm using now is converted from DBCs to SQL I kept the names. I do notice that most .NET developers don't seem to miss a character for data type.

>>Hank,
>>YHou know instantly! Wow you should have great memory. Sorry but prefixes do not type the variable.
>>Cetin
>>
>>
>>>I spend of lot of may days debugging other people's code in a 520-table database. When I look at a field, I know instantly its VFP datatype. When I look at a local variable, the same. Because we use hungarian notation. It's an incredible aid to software maintenance, which after all is 60% of the development cost, over lifetime.
>>>
>>>Hank
>>>
>>>>>Just a little love note to all of you who think Hungarian Notation is the way to go:
>>>>>
>>>>>Old-school programming techniques you probably don't miss
>>>>>
>>>>>http://tinyurl.com/d5okct
>>>>>
>>>>><g>
>>>>
>>>>Great. I always found Hungarian notation to be an ugly approach, still adopted to it just because I post code in forums and majority use it. Unfortunately too late, those redundant 2 letter prefixes stick to habits.
>>>>
>>>>Cetin


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Previous
Reply
Map
View

Click here to load this message in the networking platform