Example of real world usage of function bind syntax

Sebastian McKenzie sebmck at gmail.com
Thu Jun 11 15:25:20 UTC 2015


In Babel all the experimental features are behind flags and the docs (http://babeljs.io/docs/usage/experimental/) are very explicit about their status:




> Subject to change

> These proposals are subject to change so use with extreme caution. Babel may update without warning in order to track spec changes.





Even the blog posts announcing new features (http://babeljs.io/blog/2015/05/14/function-bind/) have warnings at the top:




> Warning: This syntax is highly experimental and you should not use it for anything serious (yet). If you do use this syntax, please provide feedback on GitHub.






So I’m curious to hear what suggestions you have to make this clearer.

On Thu, Jun 11, 2015 at 4:19 PM, Andrea Giammarchi
<andrea.giammarchi at gmail.com> wrote:

> not arguing or anything, and just as parenthesis, but this:
> On Thu, Jun 11, 2015 at 4:31 PM, Kevin Smith <zenparsing at gmail.com> wrote:
>>
>>
>> Not sure you should use it in production, just yet...
>>
>>
> is what I keep seeing as pattern:
>   1. here: please try this but don't use in production since not standard
> (see transpilers early adoption, __proto__, etc)
>   2. ... developers write code regardless ...
>   3. too late to drop "that" since it's already in production out there
> I wish Babel or any other transpilers warned in red everything that does
> not come from standards, reminding that things could and probably will
> change, so that it's clear developers can test "at home" but not deploy
> (unless they truly know what they are doing or they are OK risking changes).
> Please don't get me wrong, I do like the :: proposal but the way it's going
> out, I'm not sure is the best we can do as TC39/developers collaboration.
> Best Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150611/80754ab9/attachment.html>


More information about the es-discuss mailing list