Basically I am using enum for each state of my application. Since the user can also add new states I was wondering if I should go simply with integers, otherwise I would need to write the new fields and compile at runtime the enum class. The issue is that many app stores don’t allow runtime compilation.
So, I should use integers? If not, what else could I do?
New contributor
Deborah Ann Woll is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.