Related, so I did NOT want to create a new topic for it.
Note: I am especially happy to see enums, as a think implementing state machines / statecharts is the way to go when developing "expandable systems". Not that personally I am into some large systems or anything like that, but ProcessWire is large enough from benefiting it, I think. For example, Java seems to have been having it for years: https://www.google.com/search?q=enum+for+state+machines Still, when I find the time, I will experiment with enums to see if I can use it to improve my coding. I hope I can :)