• 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: hash arrays and other mysteries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hash arrays and other mysteries


  • Subject: Re: hash arrays and other mysteries
  • From: Paul Skinner <email@hidden>
  • Date: Mon, 22 Oct 2001 17:10:20 -0400

on 10/22/01 7:26 AM, Jason W. Bruce wrote:

SNIP

> In any event, I learned from Scott Norton awhile ago that you can use
> load script to load only specific handlers from another script as opposed to
> the entire script.
>
I didn't know that. Cool.
I seem to have missed some post. I don't know who said the following...

>> Almost. You can't say
>>
>> Set parent to string.lib
>> Set parent to array.lib
>> Set parent to graph.lib
>> Set parent to UI.lib
>> Set parent to game.lib
>>
>> We humans have 2 parents, but scripts have only 1 and noone has 5
>
> AppleScript doesn't have multiple inheritence, true. But neither does
> Smalltalk or Java. From an object-oriented design perspective, multiple
> inheritence is questionable.
>
Hmmm. I'm trying to think of why it's questionable. Complexity?
Anyway, AppleScript does have it. No, a script can't have two parents,
but it can have a family tree.
If the script which is a script's parent has a parent then the child
script ( or grandchild script ) inherits from both parent scripts.

SNIP

--
Paul Skinner


  • Follow-Ups:
    • [OT?] Multiple Inheritance (was Re: hash arrays and other mysteries)
      • From: Chris Page <email@hidden>
References: 
 >Re: hash arrays and other mysteries (From: "Jason W. Bruce" <email@hidden>)

  • Prev by Date: Date weirdness continues
  • Next by Date: Re: Applescript to get the User Name
  • Previous by thread: Re: hash arrays and other mysteries
  • Next by thread: [OT?] Multiple Inheritance (was Re: hash arrays and other mysteries)
  • Index(es):
    • Date
    • Thread