Skip to content

Enum ordinals #12

Description

@Machine-Maker

The integer returned by Enum#ordinal should not just use the i# format, but should be something associated with the type of the enum, like for Direction, it could be directionOrdinal.

All in the name of reducing the number of primitive local variables that have numbers after them.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions