RE: Back to Adoption Barriers (was Re: Applescript Studio announc ed today!)
RE: Back to Adoption Barriers (was Re: Applescript Studio announc ed today!)
- Subject: RE: Back to Adoption Barriers (was Re: Applescript Studio announc ed today!)
- From: "Zavatone, Alex" <email@hidden>
- Date: Thu, 27 Sep 2001 13:38:19 -0700
Helmut:
P.S. In case somebody doesn't know what significance "lazy evaluation" has:
It simply means that AppleScript stops to work on a calculation, when
the outcome of it is already clear. Even if there's still unprocessed
data.
As AppleScript IS lazy evaluating boolean expressions (and does this
from left to right AFAIK) you can excecute the following with no
error:
true or 1/01
--> true
Me:
I think you are implying short circuiting the expression right? Where in "x
and y or z", there is no reason to process the or if the and is already
proven false.
Or maybe my terminology is wrong.
- Zav