• 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: Libraries and effiency
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Libraries and effiency (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: Libraries and effiency
  • Next by Date: Re: How to speed up execution time of this script
  • Previous by thread: Re: Libraries and effiency
  • Next by thread: Re: Libraries and effiency
  • Index(es):
    • Date
    • Thread