What's the Java convention for naming classes with a sequence of numbers?

by codebreaker   Last Updated August 28, 2017 18:05 PM

If I'm creating a Java class for something that has a sequence of numbers in its name, e.g., ISO 8859-1, how should I name my class? Iso88591 seems wrong, since there's no boundary between the numbers. Iso8859_1 seems better to me, but according to Effective Java, "...Constant fields constitute the only recommended use of underscores." (It's also caught by Checkstyle's default behavior.)

I could also name it Iso8859Dash1, but that looks awful.

Related Questions

Method naming: to vs as vs get

Updated April 25, 2018 02:05 AM

How to name different components in adapter pattern?

Updated December 03, 2017 20:05 PM

Naming conventions for pure functions

Updated August 19, 2018 20:05 PM