-
-
Notifications
You must be signed in to change notification settings - Fork 0
Enum ordinals #12
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Fields
Give feedbackNo fields configured for issues without a type.
The integer returned by
Enum#ordinalshould not just use thei#format, but should be something associated with the type of the enum, like forDirection, it could bedirectionOrdinal.All in the name of reducing the number of primitive local variables that have numbers after them.