Re: Filemaker 8.5 stored applescript problem
Re: Filemaker 8.5 stored applescript problem
- Subject: Re: Filemaker 8.5 stored applescript problem
- From: Shane Stanley <email@hidden>
- Date: Sat, 19 May 2007 09:28:19 +1000
- Thread-topic: Filemaker 8.5 stored applescript problem
On 19/5/07 8:39 AM, "David Simerly" <email@hidden> wrote:
> No, it¹s not rocket science, but it¹s not OOP either.
>
Did anyone ever say it was?
> But if it can happen in any app, then I¹d call it a bug in AppleScript.
>
You have a different definition of bug, then. Call it poor design or
whatever, but it's working pretty much as designed. Developers are told to
avoid certain terminology, scripting addition authors are advised to frame
their terminology carefully. Failure to do either doesn't magically make it
a bug.
> And how is the compiler supposed to know which ³read² object the developer
> wants?
>
It's not -- developers are told not to use "read" and other terminology
unless they use the same code for it
<http://developer.apple.com/releasenotes/AppleScript/ASTerminology_AppleEven
tCodes/TermsAndCodes.html>. *The error here is not the compiler's, it's the
developer's*. And those thinking of writing scripting additions are nudged
towards faceless apps instead, which avoid the problem.
> The reason the problem makes me nervous is because on a very large
> installation, made up of hundreds of scripts, integrating dozens of apps, that
> control processes demanding a high degree of robustness, the system could be
> brought down at any time after upgrading a single application or OSAX in which
> the new version contains a badly named constant.
>
Only if a relevant script is recompiled, at which time it will presumably be
tested. If it does happen, it's because one of the developers involved has
made a mistake, something they could have done anywhere in their code,
bringing your empire to its knees anyway.
--
Shane Stanley <email@hidden>
AppleScript Pro Denver, June 2007 <http://scriptingmatters.com/aspro>
_______________________________________________
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