esgici wrote:...
Does Hungarian Notation is only prefixing variable
names?
Or Naming Convention is about only variable?
Please express your opinions like Danny; and as far as possible detailed. So this discussions will be valuable documentation in the future.
...
Hello Esgici,
Please check the following url
http://en.wikipedia.org/wiki/Leszynski_ ... convention
Scope of this naming convension is mainly for objects and database fields.
IMHO, if anyone is following his own convension he should follow this through out a project. Eg., I prefer to use txtXXXX as text box, I should not change it to tbxXXXX suddenly WITHIN A PROJECT. I may change it, but the naming convension must be uniform through out a project.
So whether one calls a window as frmXXX or winXXX will depend upon him.
For naming variables I prefer to use mXXX for private and lXXX for local variables. For arrays I am using aXXX.
Microsoft is playing a big role in this naming convension
Even I have it's influence ... frmXXX, txtXXX, cmdXXX etc.
We can also call winXXX, tbxXXX, btnXXX etc.
This naming convension has it's pros and cons (please refer the wiki site). But they didn't refer one big problem ... it requires more typing
This is a serious problem especially if you are working on a laptop.
Sometimes it reminds me Binomial Nomenclature
http://en.wikipedia.org/wiki/Binomial_nomenclature, we read in our school days. Yes, all Homo Sapiences, I like it
(Please note that I am a student of software development. So, please correct me if I said anything wrong
)