This is the beginning of a guide to enumerations that i’m working on for Code-Project.
When dealing with data driven application design look up tables are something that have been used heavily to help express a value for something that can be cross referenced. For instance if you want to store the alignment of text that you are storing in a database you wouldn’t want to store the full string representation of the alignment. You also wouldn’t want to create a look up table as your alignment options are unlikely to change and it would only cause to create an extra unneeded table in your database structure. This is where enumerations come in.