A
Allan Ebdrup
We have a developer who has defined our vraiable naming conventions, He has
defined that variables should benamed the same as the class they are an
instance of, for example:
Syste.Xml.XmlDocument XmlDocument;
I find this a very bad idea as you might get confused about what XmlDocument
is, a variabel or a class. Do any of you have some good arguments for or
against such a naming convention? Would it be possible to actually make
ambiguous code with such a naming conventions where the compiler wouldn't
know if you mean the class or the variable?
Kind Regards,
Allan Ebdrup
defined that variables should benamed the same as the class they are an
instance of, for example:
Syste.Xml.XmlDocument XmlDocument;
I find this a very bad idea as you might get confused about what XmlDocument
is, a variabel or a class. Do any of you have some good arguments for or
against such a naming convention? Would it be possible to actually make
ambiguous code with such a naming conventions where the compiler wouldn't
know if you mean the class or the variable?
Kind Regards,
Allan Ebdrup