News for hackers. Stuff that matters.
Re:Go is boring, and that’s fantastic by tsimionescu on Thursday July 02, 2020 @03:13PM (#23716865)
Sure, there is value in having your enums have specific values, but even in C they at least get a bit of namespacing.

And yes, Java enums are very verbose if you want to use them for low-level operations, but that is almost entirely the fault of the rest of Java and not enums themselves specifcally.

There are no comments on this comment yet.