Hacker News new | ask | show | jobs
by josh_fyi 4940 days ago
klass for a variable of type Class is totally normal in Java.
2 comments

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