If he want that plugin to be working, he need the same size for every constant, so there is no reason to hardcode it. Still, if define the max size and put more/less intems in a constant he won't be able to compile, and will ask here. Both ways will reach the same thing: a new topic here. An enum is not a must if you know how to count.