Re: Libraries and effiency
Re: Libraries and effiency
- Subject: Re: Libraries and effiency
- From: Shane Stanley <email@hidden>
- Date: Tue, 10 Aug 2010 09:01:05 +1000
- Thread-topic: Libraries and effiency
On 10/8/10 3:09 AM, "email@hidden" <email@hidden> wrote:
> I think OSAX should be included, and when I see those kinds of commands in the
> dictionary I react the same way as if a developer put the "File" menu where
> the "Help" menu should be. I also wonder if they can't get that right, what
> else have they gotten wrong?
IMO, you're putting a misguided sense of correctness before common sense.
Apart from anything else, some kind of prefix system gives a user some idea
of which addition is providing a particular command.
That doesn't mean additions should use camelCase or underscores, it just
means helping the user identify where something comes from and reducing the
chance of a terminology conflict.
Remember when people used to regularly post code here that didn't work on a
vanilla system because it relied on a particular scripting addition? That's
the sort of problem that happens when you try to make scripting addition
commands fit in rather than stand out.
>
> Terminology conflicts are fairly rare and fairly easy for the "Osax"
> developer to avoid.
They're only "fairly" rare these days because there aren't many third-party
scripting additions around. As for easy -- the only guaranteed way to avoid
them is to trawl through every application dictionary in existence.
--
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:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden