Skip to content

Numification of Order:: enumerations is backwards. #6

@ShimmerFairy

Description

@ShimmerFairy

By current spec,

+Order::Decrease ==  1
+Order::Same     ==  0
+Order::Increase == -1

Not only does this numification run counter to popular interpretations of "Increase" and "Decrease", but also requires a different interpretation:

say 5 cmp 7
OUTPUT: Increase

(From the LHS, you must increase to get to the RHS)

say +(5 cmp 7)
OUTPUT: -1

(From the RHS, you must go down (subtract/add negative) to get to the LHS)

I don't know about you, but this weird numification of words in addition to the differing interpretation between the object and its numification is broken. I recommend Decrease == -1 and Increase == 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions