6 ms·
I love Atom and it's growing ecosystem. I hate that it's much slower (especially startup time) compared to Sublime Text and that it's using often tremendous amo
by nikolay 11y ago
I love Atom and it's growing ecosystem. I hate that it's much slower (especially startup time) compared to Sublime Text and that it's using often tremendous amounts of resources. I also still wonder: Why CSON and CoffeeScript... in 2016?!
- cvburgess 11y agoI've never done it, but id assume the effort to do a rewrite would be tremendous.
- adrusi 11y agoNot really, it would be tedious, but idiomatic coffeescript can be converted to idiomatic javascript basically on a line-for-line basis. Also the compiler really does produce readable code (though unmistakeably computer-generated), so the process might even be sped by reducing it to just tidying up compiler output. It's a task that could easily be spread across any number of human translators, too. The main limiting factor is the quality of the test suite, which dictates how quickly typos could be found.
- thedaniel 11y agoAlong those lines, it would be wonderful if someone would write a coffeescript implementation that output clean, idiomatic ES6 rather than ES5!
- Beldur 11y agoYou can try https://github.com/decaffeinate/decaffeinate https://github.com/decaffeinate/decaffeinate. It's basic but gets some work done.
- drhayes9 11y agoPretty sure they're moving to ES6 these days: https://github.com/atom/toggle-quotes/pull/26#issuecomment-157341949 https://github.com/atom/toggle-quotes/pull/26#issuecomment-1...
- ronjouch 11y ago> Why CSON and CoffeeScript... in 2016?! All new code is ES6: https://twitter.com/nathansobo/status/670047510258253828 https://twitter.com/nathansobo/status/670047510258253828