2 ms·
Obviously it depends on the particulars of any given project, but if you're deriving more than just the string names of the enum values it may be worth it. Usi
by lomnakkus 8y ago
Obviously it depends on the particulars of any given project, but if you're deriving more than just the string names of the enum values it may be worth it.
Using X-macros can sometimes reduce boilerplate hugely simply through avoiding switch statements on the enum values.