Skip to main content
Post Closed as "Duplicate" by gnat, amon, Kilian Foth, Konrad Morawski, AProgrammer
edited title
Link
Konrad Morawski
  • 9.7k
  • 4
  • 38
  • 58

Why are "class" variables often misspelled?

added 91 characters in body
Source Link
Sarp Kaya
  • 341
  • 2
  • 6

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 these variables, and to use a "kool boyz" sort of writing style? Also what is wrong with using something like cls or something similar?

I have started to see variable initialisations like that:

Class clazz = new Class();

or

Class klass = new Class();

Is there a particular reason for people to misspell the word "class" when declaring these variables, and to use a "kool boyz" sort of writing style?

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 these variables, and to use a "kool boyz" sort of writing style? Also what is wrong with using something like cls or something similar?

added 22 characters in body; edited title
Source Link
haylem
  • 29k
  • 11
  • 106
  • 119

Spelling Why are "class" variables wrongoften misspelled?

I have started to see variable initialisations like that:

Class clazz = new Class();
or

or

Class klass = new Class();

Is there a particular reason whyfor people to misspell the word "class" when declaring these variables, especially these ones look likeand to use a "kool boyz" sort of writing style?

Spelling variables wrong

I have started to see variable initialisations like that:

Class clazz = new Class();
or
Class klass = new Class();

Is there a particular reason why people misspell variables, especially these ones look like "kool boyz" sort of writing style?

Why are "class" variables often misspelled?

I have started to see variable initialisations like that:

Class clazz = new Class();

or

Class klass = new Class();

Is there a particular reason for people to misspell the word "class" when declaring these variables, and to use a "kool boyz" sort of writing style?

Tweeted twitter.com/#!/StackProgrammer/status/422983749467648000
Source Link
Sarp Kaya
  • 341
  • 2
  • 6
Loading