| ▲ | TZubiri 2 hours ago | |
"Enum to string" We've come full circle huh? Why do you need this, logging? In that case I would rather reflect the logging statement to pribt any variable name, or hell, just write out the string. If saving for db, maybe store as string, there's more incentive for an enum in the db, if that's a string you might as well. At any rate it doesn't seem a great idea to depend on a variable name, imagine changing a variable name and stuff breaks. | ||
| ▲ | SuperV1234 an hour ago | parent [-] | |
Logging, debugging, auto-generation of UIs/editors, etc... This is an extremely common operation and for a good reason. | ||