• | • | • |
June 9, 2015 |
Want es.next Now? Traceur Your Way Back to ES5 and Feel the Harmony |
This month's meeting will be presented by Ken Rimple, Director of Education Services at Chariot Solutions. His presentation is entitled, "Want es.next Now? Traceur your Way Back to ES5 and Feel the Harmony." The next big thing in JavaScript is ECMAScript 6 – It’s essentially a major rewrite of the Javascript engine that will change the way you develop your code. You’ll have all sorts of great features like classes, arrow notation, template strings, local block scoping, nice iterators, generators, and a lot more. |
But...the bitter pill is your browser. Not all features of ECMAScript 6 will be available now, or even in the next few years, and who knows when everyone will upgrade. But if you want to take advantage of many of these features, what are you to do? |
Enter cross-compilers. There are several popular ones, including Traceur, Google's “transpiler”, and ‘6to5′, both of which convert ES6 to ES5. In this talk, we’ll roll up our sleeves and use JavaScript 6 features TODAY, on our browsers, writing our code with real ES 6 classes, testing with Karma, running with Gulp and NodeJS. We'll explore the extensions that let us perform type checking of our methods. We'll also discuss what areas of the spec to avoid, and how to write your code so it will take advantage of these features while still running well today. Let’s get ready for the future, and start reaping the benefits now. |