Re: AppleScript a miserable and utter failure
Re: AppleScript a miserable and utter failure
- Subject: Re: AppleScript a miserable and utter failure
- From: Shane Stanley <email@hidden>
- Date: Thu, 29 Sep 2005 09:08:58 +1000
- Thread-topic: AppleScript a miserable and utter failure
On 29/9/05 5:33 AM, "Gary (Lists)" <email@hidden> wrote:
> AppleScript programmers, unlike Perl programmers, are flat-out resistant to
> using 'libs' or 'mods'.
That's true. One reason, I think, is because the really hard work for a lot
of scripters is not so much in things like list handlers or date handlers,
but in dealing with the applications. I'm thinking about the sorts of
scripters I meet, who tend to be scripting the sort of apps I do --
InDesign, QuarkXPress, Illustrator, and so on. And that's where efficiencies
have a huge bearing on performance (and often where performance really
matters).
One of the things I find -- and many others have also commented on -- is how
little of what we seem to do lends itself to reusable subroutines. Sure, we
reuse stuff all the time -- but very often with changes. To make things
reusable, you either write a subroutine that does so little it's not worth
the effort, or you write something so overblown that maintenance becomes a
nightmare. So you end up writing a subroutine that handles the job in hand,
or taking one you already wrote for something similar and modifying it to
suit.
Now maybe we just need re-educating in the Right Way. Or maybe just as
AppleScript seems to annoy people like John Gruber and Doug McNutt, it
attracts people who are more comfortable with a different approach.
--
Shane Stanley <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden