[xinf] DOM Events?
hank williams
hank777 at gmail.com
Fri Jun 23 17:38:49 CEST 2006
The problem with enums is that they are just numbers. They would not be
valid outside the given compilation unit and so would not communicate
meaning to a previously compiled piece of code a piece of code that was not
sharing a common file.
Regards
Hank
On 6/23/06, Lee McColl-Sylvester <lee.mccoll at lyons-group.co.uk> wrote:
>
> I was thinking more along the lines of using enums or something similar.
>
>
>
> Lee
>
>
>
>
>
>
> ------------------------------
>
> *From:* xinf-bounces at xinf.org [mailto:xinf-bounces at xinf.org] *On Behalf Of
> *hank williams
> *Sent:* 23 June 2006 16:18
> *To:* xinf is not flash
>
> *Subject:* Re: [xinf] DOM Events?
>
>
>
> I'm not sure how this helps. You cant guarantee that any "type" in the
> programmatic sense really implies any particular "type" in a semantic sense.
>
> Hank.
>
> On 6/23/06, *Lee McColl-Sylvester* <lee.mccoll at lyons-group.co.uk> wrote:
>
> What about a dynamic type? Surely, so long as it's unique to the event
> to be raised, then all should work the way the coder plans?
>
> Lee
>
>
>
> -----Original Message-----
> From: xinf-bounces at xinf.org [mailto:xinf-bounces at xinf.org] On Behalf Of
> daniel fischer
> Sent: 23 June 2006 16:01
> To: xinf at xinf.org
> Subject: Re: [xinf] DOM Events?
>
> "hank williams" <hank777 at gmail.com> (on Fri, 23 Jun 2006 10:04:59
> -0400):
>
> > I need a way to communicate semantic
> > intent of the event. Your system doesnt do that
>
> seems you are right here. semantics in nicolas' proposal are implied by
> the dispatcher variable "name". i'd prefer explicit "event types" ("what
> happened?") too. i cannot think of anythin better than string, although
> using strings also poses problems...
>
> deadlocked?
>
> -dan
>
> --
> http://0xDF.com/
> http://iterative.org/
>
> --
> xinf is not flash
> http://xinf.org/
>
> --
> xinf is not flash
> http://xinf.org/
>
>
>
>
> --
> xinf is not flash
> http://xinf.org/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xinf.org/pipermail/xinf/attachments/20060623/f6290062/attachment.htm
More information about the xinf
mailing list