W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2008

[whatwg] HTML 5 : Misconceptions Documented

From: Garrett Smith <dhtmlkitchen@gmail.com>
Date: Sat, 16 Aug 2008 18:08:50 -0700
Message-ID: <c9e12660808161808l65055886m53e74033e259bd6d@mail.gmail.com>
On Thu, Aug 14, 2008 at 6:15 PM, Garrett Smith <dhtmlkitchen at gmail.com> wrote:
> On Wed, Aug 13, 2008 at 2:02 PM, Ian Hickson <ian at hixie.ch> wrote:
>> On Wed, 13 Aug 2008, Kristof Zelechovski wrote:
>>>
>>> While we are at collections and arrays, it is worth noting that the
>>> {coll.length} attribute is a misnomer.  I would always ask for
>>> {coll.count} when I was learning and meditate upon why it did not work.
>>
>> It's too late to change that kind of thing, and consistency is better at
>> this point, so we should keep using 'length'.
>>
>
> of course.

I meant: Of course it's too late to change to 'count'. It's not too
late to deprecate form.length, since form.elements.length provides a
more reliable alternative.

My other questions remain, along with the questionable parts of Web Forms 2.0.

Garrett

>> --
>> Ian Hickson               U+1047E
Received on Saturday, 16 August 2008 18:08:50 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:04 UTC