|
|
|
|
|
by viraptor
5169 days ago
|
|
This seems like a solution in search of a problem. There is a nice 'forever' construct. It's called 'while': while True:
action()
I know what you mean about generalising this to other control structures, but it looks like the whole concept starts from "I want to write 'forever' that resembles something from other languages", rather than "I want to write a loop". There are existing ways to write things like that, so is do we really need to force something from other languages into Python? What about some examples which cannot be easily handled - maybe the solution for them is something completely different than porting codeblocks. |
|