Other contributors have said "What are the advantage of user defined enumeration types?" is the same question as "What are the advantages of user defined enumeration types?" If you believe that these are not asking the same thing and should be answered differently, click here

What are the advantages of user defined enumeration types?

Answer:

User-defined enumeration types are most useful when a data type can take one of a small, discrete set of values, each of which have some meaning that is not a number. A favorite example in textbooks is a type for the suit of a playing card. There are four options: SPADE, CLUB, HEART, DIAMOND, and so we would make an enumeration type with these four entries. The main advantages are efficiency in storage (compared to e.g. storing these values as strings) and more readable code.

First answer by Stedr. Last edit by Stedr. Contributor trust: 6 [recommend contributor recommended]. Question popularity: 0 [recommend question].