3 ms·
Using ES6 (or CommonJS) module syntax, you can create minimal, testable modules that are very easy to reason about, and minimize the need for specific type safe
by tracker1 12y ago
Using ES6 (or CommonJS) module syntax, you can create minimal, testable modules that are very easy to reason about, and minimize the need for specific type safety concerns. I do think that TypeScript will gain a lot of a following, especially with Angular2... just the same, I've now worked on some pretty big node/web projects and haven't needed the type safety.
I've been using babel --stage 0 (for ES7 adds) for my current projects, and async/await are absolutely invaluable[1].
[1] https://twitter.com/tracker1/status/598912227920334848 https://twitter.com/tracker1/status/598912227920334848
- girvo 12y agoFlummox or Alt (both are flux implementations) with async actions: my favourite part of JavaScript at the moment. The fact that the regenerator runtime means async/await wrap regular promise based libraries with zero hassle is just brilliant!