@roganjosh An enum is essentially just a specific type of flag, one where the flag may have one of a set of possible values, rather than simply being boolean: present or not. They're useful any time you have a very specific set of allowable options. A poor example being zip.DEFLATED as a constant. If multiple values were actually supported, this ought to be an enum. For something that's already suitable, ref:
Z_BEST_SPEED
.