Re: functions as sort of first class objects
Re: functions as sort of first class objects
- Subject: Re: functions as sort of first class objects
- From: has <email@hidden>
- Date: Fri, 27 May 2016 23:38:07 +0100
Ray Robertson wrote:
>> OK, now that I’ve vowed to use script objects, I’d appreciate
pointers to examples, documentation, write-ups, etc. beyond what’s in
the AppleScript Language Guide. Thanks.
>
> Matt Neuburg’s book is indeed the Definitive Guide. Note that chapter
8 is dedicated to Script Objects. Chapter 10 is on Scope.
Matt's book is definitely the best of the bunch for talking bluntly
about AS's many defects and deficiencies, and tonally the best choice
for professional coders. Although even it doesn't nail the deep
conceptual stuff, tending to get bogged in the twiddly mechanics rather
than the arch-philosophy; but none of the available books do. (I did
consider writing one, but with the AS team so irrevocably hell-bent on
driving the platform into the ground I could not justify the massive
amount of blood, sweat, and tears that would take.) All I can do is
point again to the appscript/SwiftAE docs and Dr Cook's HOPL paper as
the closest you'll get to understanding the truth short of spending a
decade to work it all out from scratch.
That said, I don't think Matt's Script Objects chapter is anywhere as
good as mine, which comes at the subject from an applied perspective
(i.e. *why* you would ever want to use them), as opposed to merely
iterating the various buttons and switches they present and leaving you
none the wiser as to why you should care. (And don't even bother with
Sal's book for this stuff: despite its other merits, it's shallow as a
puddle as far as learning how and why to code goes.)
HTH
has
p.s. Only reason I point to my book is because I know I explicitly added
that material exactly to answer these kinds of questions. I don't make
any money off promoting it (my 5% goes direct from Apress to MSF).
(Not that anyone makes any money of writing non-fiction anyway as all
the money's in dragon's and wizards, not base reality.)
_______________________________________________
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