RE: An observation about "live" NodeLists

At 08:53 PM 10/16/98 +0100, Miles Sabin wrote:
>> It may be getting late on Friday, but I don't understand how either of
>> these snippets deletes every OTHER paragraph; don't they delete EVERY
>> paragraph???
>
>Here's why ...
>
>Suppose nl enumerates the following paras,
>And, yes, I agree, this interface will be very error prone,
>because noone expects things which look like arrays to
>behave as NodeLists do.

Ahhhh ... the blinding light of revelation.  Yup, I gotta admit this is
counter-intuitive... I *did* think of NodeLists as arrays ... 

I wish I'd thought of this example a year ago when we were fighting the
great NodeList vs Iterator war....

Mike Champion

Received on Friday, 16 October 1998 16:21:13 UTC