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: Yvan KOENIG <email@hidden>
- Date: Mon, 1 Jun 2009 18:06:37 +0200
Le 1 juin 2009 à 17:26, Deivy Petrescu a écrit :
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.
yes and no.
No rule forgive some one to name a property 'class'.
I agree that it is far from being good practice but it's now part of
our cultural heritage.
If Apple changes something on this point MANY pieces of scripts may
suffer of the change.
The metric system is the standard one for years but US citizens
continue to use it.
English citizen drive on the left side of the roads when other
European citizen drive on the right.
The result is that the tunnel between Europe and Great Britain is
only a railways one ;-)
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...".
Don't worry,
the message was sent as a private one by error.
I just discovered my error reading your message.
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?
History prove that this kind of revolution is often bringing a lot of
drawbacks which where not identified by those wishing the changes.
Remember 1918 in Russia.
Yvan KOENIG (from FRANCE lundi 1 juin 2009 18:06:32)
_______________________________________________
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