Do we need an experimental extension naming convention?
Allen Wirfs-Brock
Allen.Wirfs-Brock at microsoft.com
Fri Jul 2 09:23:22 PDT 2010
I just noticed from John Resig's Twitter stream that Proxies are now in the FF nightlies. I think this sort of implementation experience is exactly what we need to be doing for features that are proposed for Harmony. However, this announcement starting me thinking about what happens when inevitably there are differences between this early experimental implementation and the final ES-Harmony specification. How can we encourage such implementation and usage without also risking premature de facto standardization of details that ultimately may need to change? Can we help JavaScript programmers recognize such experimental features?
This might be done with a technique similar to CSS's vender-specific naming conventions (eg, _moz_Proxy) or via namespacing. In either case, we won't necessary need to use vendor names. For example, "TC39exp", is probably a pretty collision safe global name so you might have for example TC39exp.Proxy.
I don't have any personal experience with CSS vender extensions, but my expression is that they may be somewhat a mixed bag from an interoperability perspective. Is this the case? I don't want to send us down a path that is a folly but it does seem like it would be wise to clearly tag experiments as such.
Thoughts?
Allen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20100702/2ba58f7f/attachment-0001.html>
More information about the es-discuss
mailing list