a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by SafetyPin
SafetyPin  ·  3458 days ago  ·  link  ·    ·  parent  ·  post: What's your favorite alternative language to javascript and why?

You could write ES6 now and compile to ES5 using Babel, Traceur or something else.





fishtastic  ·  3458 days ago  ·  link  ·  

That's handy. didn't know those existed.

From this page, http://kangax.github.io/compat-table/es6/ It appears that Babel has more of ES6 implemented.

Have you tried using Babel/Traceur? Did you like it?

SafetyPin  ·  3458 days ago  ·  link  ·  

Haven't used neither of them yet. Plan to implement Babel(seems to be the favoured compiler) alongside PostCSS(basically same thing only for CSS) in next project.

Although I haven't tried it yet writing next generation JS should be a strong positive especially if Babel does a good job of compiling your code to ES5.

If you are interested I would suggest doing your own research to the pros and cons. Or just give it a try.