• 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: Scripting and Back to Mac
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Scripting and Back to Mac (From: Shane Stanley <email@hidden>)
 >Re: Scripting and Back to Mac (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Scripting and Back to Mac
  • Next by Date: Re: Scripting and Back to Mac
  • Previous by thread: Re: Scripting and Back to Mac
  • Next by thread: RE: Scripting and Back to Mac
  • Index(es):
    • Date
    • Thread