Re: Name of WeakMap

François REMY francois.remy.dev at outlook.com
Fri Jan 3 02:28:13 PST 2014


I believe in the future experimental features will stay in modules that can be imported (“import WeakMap from “@weakref-moz-experimental””), making the prefixing problem less critical. In such case, if you want your code to be bullet-proof, you simply do not rely on features marked as experimental.









De : Andrea Giammarchi
Envoyé : ‎vendredi‎ ‎3‎ ‎janvier‎ ‎2014 ‎11‎:‎12
À : Boris Zbarsky
Cc : es-discuss










On Mon, Dec 30, 2013 at 10:48 PM, Boris Zbarsky <bzbarsky at mit.edu> wrote:



A majority of developers working on "mobile" web sites, for example.

-Boris



that's me indeed ... I've been working in major mobile websites since quite a while and I keep saying that not being able to recognize an early implementation from a spec'd one will hit back badly pretty soon both in specs, being unable to do last minute changes to any signature, and for libraries, being unable to feature detect behaviors.




Prefixes were a good decision, IMHO, but I do hope I will be proven wrong with real-world "careless about prefixes" cases.




Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140103/71959989/attachment.html>
-------------- next part --------------
_______________________________________________
es-discuss mailing list
es-discuss at mozilla.org
https://mail.mozilla.org/listinfo/es-discuss


More information about the es-discuss mailing list