Re: Scripting and Back to Mac
Re: Scripting and Back to Mac
- Subject: Re: Scripting and Back to Mac
- From: Alex Zavatone <email@hidden>
- Date: Thu, 21 Oct 2010 18:21:19 -0500
On Oct 21, 2010, at 6:19 PM, Luther Fuller wrote:
> On Oct 21, 2010, at 5:51 PM, Shane Stanley wrote:
>
>> On 22/10/10 9:16 AM, "Luther Fuller" <email@hidden> wrote:
>>
>>> And why can't code-signing be done in AS?
>>
>> Actually, you may well be able to codesign an AS app. But there's going to
>> be a problem if the app code ever changes, which is what happens when
>> properties are saved to disk.
>
> For years I've followed two rules:
> 1. Never, never, ever use global variables.
> 2. Never, never, ever change the value of a property.
Why never change the value of a property? Isn't that what constants are for?
I agree with you about globals though. They just promote sloppy design.
_______________________________________________
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