[whatwg] What should the value attribute be formulti-fileupload controls in WF2?

Kristof Zelechovski giecrilj at stegny.2a.pl
Tue Jun 24 13:52:50 PDT 2008


Breaking the interface means changing the semantics without introducing new
syntax.  For example, if x is int[10] and you decide you need 20 of them
afterwards, you say "x2 is int[20]" and you throw x away.  Afterwards you
have to accommodate the code using x, which is now undefined, to the new
semantics.  The fact that x is undefined is helpful because you have a
smaller chance of overlooking something.
Chris

-----Original Message-----
From: whatwg-bounces at lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Frode Borli
Sent: Tuesday, June 24, 2008 10:41 PM
To: Kristof Zelechovski
Cc: whatwg at whatwg.org; Thomas Broyer
Subject: Re: [whatwg] What should the value attribute be formulti-fileupload
controls in WF2?

> Because it breaks the common interface that the value property returns a
scalar?

Doesn't renaming the .value property to for example .files also break
the common interface?

Frode




More information about the whatwg mailing list