Coding Standard - Names

time to read 2 min | 215 words

Names should be in ASCII and are limited to [a-zA-Z0-9_]. Anything else, is a heretic attempt to cause me, personally, problems.
So speaks the guy who had to convince a company that building a platform on Hebrew# is not a good idea. In addition to that, those names should be in English, consistently spelled and have a uniform coding style. I don't care what, just that it is consistent and uniform.

Nevertheless, Hungarian notation should be left to those who dreams of the coup of the pwsz and its friend, cbSize.

Transcripting variables names is also a sin, and it punishable by crucifixion at your social reform site of choice.

Using names (subject to the above mentioned char limits) from latin-script based languages is allowed, assuming that the work is completely local. Sorry, but I rarely can help with code that looks like:

ILympho loco = new Alieniloquium();

If the developer speaks more than one language, though, a single language should be used across the entire code base. To do otherwise is to court disaster.

Again, I can't really understand code that goes like this:

Employee divka = Employees.GetByMispar(15);

Those are the things that I have found useful.  The above applies to types, members, variables, parameters, tables, columns and file names.