30 Jan '15, 12am

Replace CoffeeScript with ES6

I’ve been looking into ES6 , the next version of JavaScript, and finally got a chance to use it on a project. In the brief amount of time I was able to use it I’ve found that it solves a lot of the problems that CoffeeScript is trying to solve without drastic syntax changes. Using ES6 Today We can start using ES6 today through the 6to5 project which transpiles our ES6 code into ES5. 6to5 supports a plethora of build tools including Broccoli, Grunt, Gulp, and Sprockets. I’ve had a lot of success using sprockets-es6 , and Sprockets 4.x will have out-of-the-box support for 6to5. If you’re using Vim you’ll want to associate the .es6 file extension with JavaScript by putting the following code into your .vimrc . autocmd BufRead,BufNewFile *.es6 setfiletype javascript You can also use the 6to5 REPL to try out ES6 in your browser. Classes Both CoffeeScript and ES6 have class supp...

Full article: http://robots.thoughtbot.com/replace-coffeescript-with-es6

Tweets

CoffeeScript 1.9.0 is out. Supports ES6 generat...

coffeescript.org 29 Jan '15, 5pm

The golden rule of CoffeeScript is: "It's just JavaScript" . The code compiles one-to-one into the equivalent JS, and ther...

ITF: Freight transport will replace passenger t...

greencarcongress.com 29 Jan '15, 12pm

The North Pacific route will surpass the North Atlantic as the world’s most busy trading corridor in terms of freight volu...

The Race to Replace Bitcoin

observer.com 05 Feb '15, 1pm

Another Ripple Labs veteran told the Observer a story that portrayed Ms. Kim in a warmer, more sympathetic light, though t...