2 ms·
In most languages enum suck, it's not specific to Go, lot of pitfall and ABI issues, even my modern languages like C# have those.
by Thaxll 3y ago
In most languages enum suck, it's not specific to Go, lot of pitfall and ABI issues, even my modern languages like C# have those.
- randomdata 3y agoYes, enums fundamentally suck. There is nothing you can do in a language to make them not suck other than to get rid of them... ...which, indeed, is quite viable as enums are just a hack to work around a limited type system anyway.