• 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: Handlers in list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Handlers in list


  • Subject: Re: Handlers in list
  • From: Christopher Nebel <email@hidden>
  • Date: Tue, 24 Apr 2001 15:40:04 -0700

On Monday, April 23, 2001, at 08:23 PM, email@hidden wrote:

It really seems like something that is just a fluke of the implementation, and
may go away the way "item 0 of someList" did something weird and then went away.

It won't go away if I can help it. I'll admit it's not documented, but it's hardly in the same class as "item 0". That one was accessing invalid memory -- it would actually crash on Mac OS X -- whereas references to handlers is a designed-in feature. (At least I think it was. The motives of the original implementors are not always clear from the code.) Functions as objects is the first step in functional programming, and lets you do some very nifty things.


--Chris Nebel
AppleScript Engineering


References: 
 >Re: Handlers in list (From: email@hidden)

  • Prev by Date: Re: Handlers in list
  • Next by Date: Re: Make new selection with Graphic Converter
  • Previous by thread: Re: Handlers in list
  • Next by thread: Re: Handlers in list
  • Index(es):
    • Date
    • Thread