5 ms·
I think string enums are actually totally okay considering they're interned and basically just pointers at the VM level, and then when you're debugging you don'
by chpatrick 2y ago
I think string enums are actually totally okay considering they're interned and basically just pointers at the VM level, and then when you're debugging you don't need to figure out what the hell 0x72838ABC is.
Pointing to a lower level language with a different use case doesn't justify int enums to me.
- Waterluvian 2y agoThat’s pretty much the last straw for why I switched to string unions. Debugging integers in logs was terrible.