Relative Content

Tag Archive for naming-standards

Why are “class” variables misspelled? [duplicate]

This question already has answers here: Intentional misspellings to avoid reserved words (12 answers) Closed 10 years ago. I have started to see variable initialisations like that in Java libraries: Class clazz = new Class(); or Class klass = new Class(); Is there a particular reason for people to misspell the word “class” when declaring […]

Why are “class” variables misspelled? [duplicate]

This question already has answers here: Intentional misspellings to avoid reserved words (12 answers) Closed 10 years ago. I have started to see variable initialisations like that in Java libraries: Class clazz = new Class(); or Class klass = new Class(); Is there a particular reason for people to misspell the word “class” when declaring […]