Possibly better loop construct, also labels+goto important and on the fly compiler idea.
Mark Lawrence
breamoreboy at yahoo.co.uk
Fri Oct 25 10:13:02 EDT 2013
On 24/10/2013 21:02, Skybuck Flying wrote:
> Because it's logical.
>
> If the exit condition was placed on the top, the loop would exit
> immediatly.
>
> Instead the desired behaviour might be to execute the code inside the
> loop first and then exit.
>
> Thus seperating logic into enter and exit conditions makes sense.
>
> Bye,
> Skybuck.
Are you replying to Her Majesty the Queen, President Obama or whom?
What context is this in?
--
Python is the second best programming language in the world.
But the best has yet to be invented. Christian Tismer
Mark Lawrence
More information about the Python-list
mailing list