I think some raised points are relevant…

  • UlrikHD@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    9 months ago

    match isn’t a protected keyword like if is.

    match = 0
    match match:
        case 0:
            print(0)
        case _:
            print(1)
    

    Is legal and will give print out 0.