O'Reilly logo
  • Gaurav Garg thinks this is interesting:

There is no easy way to translate int enum constants into printable strings. If you print such a constant or display it from a debugger, all you see is a number, which isn’t very helpful. There is no reliable way to iterate over all the int enum constants in a group, or even to obtain the size of an int enum group


Cover of Effective Java, 3rd Edition


Disadvantages of int enums