I hit this little tidbit while browsing the Java Code Conventions:
The names of variables declared class constants and of ANSI constants should be all uppercase with words separated by underscores ("_"). (ANSI constants should be avoided, for ease of debugging.)
(From here.)
What are these "ANSI constants" this document speaks of? And how do they make debugging harder?
The text makes it sound as if there is a dichotomy between "variables declared class constants" (which I interpret as ordinary static final
variables) and these "ANSI constants", but I'm not aware of any way to declare constants in Java other than to make them static final
variables.