Comment on What was the strangest coding standard rule that you were forced to follow?parentComments−josh_fyi13yklass for a variable of type Class is totally normal in Java.−ygra13yIsn't it usually clazz?But such things are quite annoying for automatic code generators, though, as they have to make sure that they won't ever emit an identifier that clashes with a keyword. The ability to just prepend @ in C# is quite helpful in that regard.−mpyne13ySame for GTK+ C code (where it is used as a gesture toward C++ compatibility, at least for the headers).
Comments
klass for a variable of type Class is totally normal in Java.
Isn't it usually clazz?
But such things are quite annoying for automatic code generators, though, as they have to make sure that they won't ever emit an identifier that clashes with a keyword. The ability to just prepend @ in C# is quite helpful in that regard.
Same for GTK+ C code (where it is used as a gesture toward C++ compatibility, at least for the headers).