Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on What's Coming in Python 3.8. Parent comment
> What if the while statement was part of the loop and could be placed arbitrarily?
If you're open to that, I had thought this was a bridge too far, but:
do: body1() break if some_condition body2() continue if some_other_condition
while True: do_body break
There are no comments on this comment yet.
> What if the while statement was part of the loop and could be placed arbitrarily?
If you're open to that, I had thought this was a bridge too far, but:
Under that scheme, the semantics translate to: And, of course, the `break if` and `continue if` syntax would be general.