News for hackers. Stuff that matters.
Re:Python's sad, unimaginative Enum by dchichkov on Saturday May 11, 2013 @02:38PM (#5691593)
Yes, if you would only allow binding it resolves the conflict. But, if a five year old would look at the code:

    y = 5
    match x with:
        1: print '1'
        y: print '5'
he will think it is equivalent to:

    y = 5
    if x == 1: print '1'
    elif x == y: print '5'
And that would not be true.

There are no comments on this comment yet.