Re: Coercion of string to a record property label
Re: Coercion of string to a record property label
- Subject: Re: Coercion of string to a record property label
- From: Christopher Nebel <email@hidden>
- Date: Tue, 9 Oct 2001 16:26:32 -0700
On Tuesday, October 9, 2001, at 01:58 PM, Harald E Brandt wrote:
Why must life be so immensely complicated?? It makes me even strongly
question the strength of records in AppleScript! ... it seems the way
Apple wants it.....
Take a few deep breaths and meditate on Hanlon's Razor [1], Harald.
Better? Now then...
Records work perfectly well for what they were designed to do, which is
provide named access to a smallish set of known-in-advance fields. As
you observed, they work rather badly at other things, like trying to
make up fields on the fly. Problem is, such uses have grown over time,
so now you're looking at a classic case of bit rot. There is an
enhancement request filed on this sort of thing, and we do plan to
implement it eventually.
--Chris Nebel
AppleScript Engineering
[1] "Never attribute to malice that which can be adequately explained
by stupidity." For more details, see
<
http://www.tuxedo.org/~esr/jargon/html/entry/Hanlon's-Razor.html>.
In this particular case, it's more like "that which can be adequately
explained by lack of engineering time."