Question #233507 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/233507

RaiMan posted a new comment:
--- but cannot stand break
break and continue are first class features for loops in languages, that do not 
have goto statements.

You are doing nothing else with your while, but put the "break" into the
loop head.

Using inline break and continue makes your code more readable and
debuggable, since it is always clear, where you leave the loop under
which condition before it is ended normally.

Other languages have more powerful break and continue, since they allow
to specify the target loop head in nested loops.

All the best.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to