Skip to content

Comment on What was the strangest coding standard rule that you were forced to follow?parent

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).

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.