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

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

  • FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    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.