all 2 comments

sorted by: hot top controversial new old
[–] 3 points 2 years ago*

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

  • source
  • [–] 2 points 2 years 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.

  • source