• FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Yeah I would avoid this. The meaning is not obvious and at least in the examples given there are far better ways to do it.

  • rutrum@lm.paradisus.day
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    2 months ago

    Idk…kind of neat, but is the die rolling example any better than just doing ‘while roll() != 6:’?