Re: applescript-users digest, Vol 2 #783 - 16 msgs
Re: applescript-users digest, Vol 2 #783 - 16 msgs
- Subject: Re: applescript-users digest, Vol 2 #783 - 16 msgs
- From: Shane Stanley <email@hidden>
- Date: Wed, 20 Jun 2001 14:27:16 +1000
On 20/6/01 1:14 PM +1000, Ed Stockly, email@hidden, wrote:
>
> I guess so. But AppleScript strikes me as particularly deceptive -- maybe
>
> it's just the more English-like syntax, subconsciously making one expect
>
> more easily explicable results.
>
>
>
I don't think it's the syntax. I think it's a factor in any higher level
>
language.
>
>
An AppleScript command triggers an appleEvent that is passed through the
>
appleEvent manager to be handled by a C or C++ or Java function or object
>
and then either sent to another handler or function or to the OS where the
>
work is done by another bit of code.
>
>
The efficiency of your appleScript is dependent on the efficiency of each
>
step along the way. The higher level a language is the more vulnerable a
>
simple command can be to unseen complexity, regardless of the syntax.
But that's all a bit beside the point. No-one was suggesting the syntax was
the cause of any differences in performance, but rather that its closeness
to natural language encouraged the temptation to make assumptions about what
might be the most efficient way to do something.
--
Shane Stanley, email@hidden