<div dir="ltr">ES6 is risk-free solution. Browsers do not support it properly, but it is not a problem. ES6 code can be compiled to ES5 and be used in browsers until proper ES6 support appear. Fuel uses Babel (<a href="https://babeljs.io/">https://babeljs.io/</a>) to compile ES6 to ES5. Node 6.x supports it almost completely.<div><br></div><div>Anton</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 3, 2016 at 9:42 PM, Michael Krotscheck <span dir="ltr"><<a href="mailto:krotscheck@gmail.com" target="_blank">krotscheck@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">TL/DR: Should we support EcmaScript 6?<div><br></div><div>Discussions I've had on the topic:</div><div><br></div><div>Vancouver:</div><div>- <span style="line-height:1.5">Browser support is not yet broad enough, so no- we shouldn't support ES6.</span></div><div>- TypeScript is too closely tied to Corporations (tm), not really an open standard. Do not support TypeScript.</div><div><br></div><div>Austin:</div><div>- Fuel is using ES6, is now an official project (?).</div><div>- We have non-browser projects that could use it, assuming that we have a recent version of Node.js that we can test on.</div><div>- We now have Node4 LTS on our infra build nodes, which support _most_ of EcmaScript 6 things.</div><div>- EcmaScript continues to be moving target (And will likely always be a moving target).</div><div>- Xenial contains Node 4 LTS. Ubuntu does _not_ have an upgrade exception for node (akin to Firefox).</div><div>- Node 6 LTS was released during the summit.</div><div><br></div><div>Body of work required:</div><div>- Discuss and enable linting rules for ES6 in eslint-config-openstack.</div><div><span style="line-height:1.5">- Smoke-test fuel's unit and functional testing for ES6 components.</span><br></div><div><br></div><div>Personal Assessment:</div><div><br></div><div>Frankly, we already have ES6 in our infra, so that train has left the building. What we need to do is make sure it has the same level of support as other languages, which, I believe, isn't going to be too difficult. I also have some commitments of mutual assistance from Vitaly (Fuel) to keep things sane and keep communication open. As for the upcoming Node4 vs. Node6 question, I recommend that we _not_ upgrade to Node 6 LTS in the Newton cycle, however strongly consider it for the Ocata cycle.</div><div><br></div><div>Am I missing anything? Does anyone have opinions?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Michael</div></font></span></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>