• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AppleScript and programmers (was: Re: on neophytes vs perfectionists)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: AppleScript and programmers (was: Re: on neophytes vs perfectionists) (From: has <email@hidden>)

  • Prev by Date: Re: Option Key Down
  • Next by Date: Phidgets and AppleScript
  • Previous by thread: Re: AppleScript and programmers (was: Re: on neophytes vs perfectionists)
  • Next by thread: Re: libraries vs copy/paste (was: on neophytes vs perfectionists)
  • Index(es):
    • Date
    • Thread