|
|
|
|
|
by DubiousPusher
1463 days ago
|
|
Covered in what sense? As in tested? I can easily open the data driven enum amd push all values through some switching code if desired. To alert the user about removed values I have code which checks key values against the definition and errors on deleted values. Using tokenized enum values is convenient for the programmer but again I want to discourage it as it often blocks the non-coding designers on my team when they need to extend a component to handle more app states. Compiler token checking is nice but IMO data driven behavior is nicer. We dont avoid the use of strings and ints or any other kind of data because they don't have a compile time tokenized representation. |
|