How is this statement making sense? (Sun's naming convention for Java variables)
Posted
by polygenelubricants
on Stack Overflow
See other posts from Stack Overflow
or by polygenelubricants
Published on 2010-04-26T04:40:51Z
Indexed on
2010/04/26
4:43 UTC
Read the original article
Hit count: 210
I've been quoting this segment from Sun's document for the past few days, and only now do I stop and think about what it's saying, and I can't make sense out of it. Please keep in mind that English is not my first language.
Naming conventions
Variables: Except for variables, all instance, class, and class constants are in mixed case with a lowercase first letter.
How is this making sense? Isn't this saying that class names are in mixed case with a lowercase first letter? Like I should name it class myClass
? And class constants are also in mixed case with a lowercase first letter? Like I should name it Integer.maxValue
?
And is it really saying anything about how variables themselves should be named?
Am I not parsing this properly or is this actually a blatant error?
© Stack Overflow or respective owner