Re: Linked lists (was osascript - path to me)
Re: Linked lists (was osascript - path to me)
- Subject: Re: Linked lists (was osascript - path to me)
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 20 May 2002 19:29:26 -0700
So do I.
--
Paul Berkowitz
>
From: Bill Cheeseman <email@hidden>
>
Date: Mon, 20 May 2002 17:57:13 -0400
>
To: AppleScript-Users Mail <email@hidden>
>
Subject: Re: Linked lists (was osascript - path to me)
>
>
I find your thinking quite persuasive.
>
>
on 02-05-20 1:00 PM, Christopher Nebel at email@hidden wrote:
>
>
> Here's my thinking:
>
>
>
> 1. Linked lists aren't documented anywhere aside from the 1.1 release
>
> notes.
>
> 2. They're essentially useless right now, because the only operations
>
> for which they're more efficient than vectors (i.e., insertion and
>
> deletion) don't work. Of course, we plan to fix that, at least for
>
> vectors.
>
> 3. They're not entirely supported as it is -- they don't support a bunch
>
> of the properties vectors do.
>
> 4. They're not functionally equivalent to vectors -- "set" has radically
>
> different behaviors in some cases, and it's not always easy to predict
>
> where or why. (This is not a bug -- it's inherent in the data
>
> structures. We could perhaps make linked lists act like vectors, but it
>
> would tend to destroy the performance advantages.) This means that you
>
> can't just flip your script from one to the other without looking at it
>
> very carefully.
>
> 5. Having an extra class increases the implementation and documentation
>
> work accordingly.
>
> 6. I'm uncomfortable philosophically with asking scripters to make a
>
> decision between two subtly different data structures purely for
>
> performance reasons. AppleScript is supposed to be useful to people who
>
> don't know Computer Science and don't particularly want to know. I want
>
> to reduce the number of data types scripters have to deal with, not
>
> increase it.
>
>
>
--
>
>
Bill Cheeseman - email@hidden
>
Quechee Software, Quechee, Vermont, USA
>
http://www.quecheesoftware.com
>
>
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
>
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
>
Croquet Club of Vermont - http://members.valley.net/croquetvermont
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.