Re: AppleScript and programmers (was: Re: on neophytes vs perfectionists)
Re: AppleScript and programmers (was: Re: on neophytes vs perfectionists)
- Subject: Re: AppleScript and programmers (was: Re: on neophytes vs perfectionists)
- From: Stan Cleveland <email@hidden>
- Date: Mon, 22 Dec 2008 18:26:54 -0800
- Thread-topic: AppleScript and programmers (was: Re: on neophytes vs perfectionists)
On 12/20/08 9:12 AM, "has" wrote:
> 2. It is difficult to tell which bits of a script are part of the
> language, and which are really parts of scriptable applications, as
> AppleScript kinda smooshes the two together so you're never really
> sure where the joins are.
>
> This wouldn't be quite so hard if the native language features and
> remote application features all looked and behaved in exactly the same
> ways, but they don't. That means a technique you use successfully in
> one part of your script fails in another, and it's not clear why.
> Eventually, experienced AppleScripters learn to tell the difference
> and memorise the different traits of each, but that takes lots of
> time, clever deduction, and trial and error research. Most other
> languages do not treat their users this way, preferring to draw
> obvious lines between different component parts so that users can
> easily see whereabouts they are.
AppleScript's syntax coloring does allow one to distinguish language
keywords from application keywords. Obviously, this "parlor trick" doesn't
address the root problem you're discussing, but it has helped a time or two
to keep this non-programmer's confused brain from exploding.
Stan C.
--
"Programming is easy: you just stare at the screen until droplets of blood
appear on your forehead." -- unknown
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden