> We use enums heavily to force devs who use our code into good choices
the note is that this is very much language-dependent and there are languages which get it very, very wrong.
> And I'm sure there are languages that do enums "properly", but it's always C/C++ that is referenced.
That makes no sense, the original comment obviously assumes a language which does it "properly".
> We use enums heavily to force devs who use our code into good choices
the note is that this is very much language-dependent and there are languages which get it very, very wrong.
> And I'm sure there are languages that do enums "properly", but it's always C/C++ that is referenced.
That makes no sense, the original comment obviously assumes a language which does it "properly".