Re: Is this a major bug or not?
Re: Is this a major bug or not?
- Subject: Re: Is this a major bug or not?
- From: Deivy Petrescu <email@hidden>
- Date: Mon, 1 Jun 2009 11:26:28 -0400
On 31/05/2009, at 21:52 , Shane Stanley wrote:
On 1/6/09 11:41 AM, "Deivy Petrescu" <email@hidden> wrote:
Does that bother anyone else?
The fact that something bothers people, or is a bad implementation
detail,
doesn't make something a bug. There's a similar problem with
"contents",
which ASStudio side-stepped by introducing the "content" property.
It's annoying, and it would be nice to see a better solution -- but
calling
it a bug is not really going to help, I suspect.
--
Shane Stanley <email@hidden>
AppleScript Pro Sessions <http://scriptingmatters.com/aspro>
Well,
initially I called it a big bug because something that should return
record was returning "text", "message", etc.
For me this would have been a big bug.
Then, Yvan showed me that what was being returned was not the class
of the object I wanted to know but "class" as returned by the record
"properties" of the object.
Although I was technically completely wrong in my complaint, this
pointed out to another problem with "class" being returned as property
of an object. It makes it ambiguous to find what is the class of the
object "property".
So, the question about bothering someone else was not a bug per se. It
just follow the thread of a bug... :)
However, I noticed something else, the "class" included in the
properties record is spurious. It should not be there. As per the
dictionary, class is not a property.
And this should be so. It would prevent this kind of ambiguity.
Yvan, on a private email, which I hope I am not being rude to
divulge, said that "we know that the object is a record even though
AS does not let us know...".
Well, there would be no reason for debugger if we knew everything,
would it ?
If I know what it is, no problem, what happens when I do not know what
it is.
Remember that Yvan and I discussed for 2 days, because I did not know
what it was...
Philip has a good point, records should be completely revamp. It is
arcane what one has to do to create records on the fly or to get the
labels of records.
Why should it be that hard?
Deivy Petrescu
email@hidden
_______________________________________________
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