Units of Measure

Brendan Eich brendan at mozilla.org
Fri Oct 26 14:12:00 PDT 2007

On Oct 26, 2007, at 12:48 PM, Darryl wrote:

> I think it'd be interesting and useful to have some
> way to have units of measure as part of the structure
> of a number.

See http://www.mozilla.org/js/language/old-es4/rationale/units.html  
(and everyone, please help disambiguate by using "program units" when  
talking about the other units, the kind included in ES4 as proposed:  
http://wiki.ecmascript.org/doku.php?id=proposals:program_units ;-).  
Waldemar's write-up there in the old-es4 doc-tree references Dav  
Raggett's Spide (http://www.mozilla.org/js/language/ 
bibliography.html#spice), worth a read too.

> It's just an idea but I think it'd be incredibly
> useful in the future for designing advanced web applications.

At this point, as the overview says, we are not taking new proposals  
for ES4. Units are tempting to consider for a future Edition, but  
IIRC Waldemar had some unsolved problems in his design. It would be  
good to hear from him, if he remembers the details.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.mozilla.org/pipermail/es-discuss/attachments/20071026/b2048082/attachment-0002.html 

More information about the Es4-discuss mailing list