Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

What do you think about ES2015? #6

Closed
sindresorhus opened this issue Jul 5, 2015 · 1 comment
Closed

What do you think about ES2015? #6

sindresorhus opened this issue Jul 5, 2015 · 1 comment

Comments

@sindresorhus
Copy link

Previously known as ES6. Have you used it?

@kentcdodds
Copy link
Owner

I have a hard time calling it ES2015 to be honest. I'll probably be on board with ES2016, but ES6 is ES6 to me :-)

I started working in primarily ES6 around February 2015. Now it's all I code in pretty much. Looking at this list of features, I'm a huge fan of:

  • arrows
  • enhanced object literals
  • template strings
  • destructuring
  • default + rest + spread
  • let + const
  • unicode
  • modules
  • module loaders
  • promises
  • math + number + string + array + object APIs

Haven't used/experienced:

  • iterators + for..of
  • generators (Excited to see my potential use-cases here)
  • map + set + weakmap + weakset
  • proxies
  • symbols
  • subclassable built-ins
  • tail calls (I'm sure I'll love this)
  • reflect api

Indifferent to

  • binary and octal literals

Not a huge fan of:

  • classes (I think I'm a functional programmer)

When I moved my work project over to webpack, it was really easy to add in 6to5 (now Babel, which is pronouced "babble") to my project and from there it has totally infultrated my code and my active open source projects.

I actually gave a talk on ES6 at a local meetup using a fork of @aaronfrost's and @rauschma's es6 workshop (tests migrated from jest to mocha because performance...).

A few weeks later I gave a talk at another local meetup about getting code coverage for tests in projects using ES6, Webpack, and Karma.

I'm also giving a day training at Midwest JS this year about ES6 which I'm totally stoked for :-)

So yeah, I've used it, and I love what it provides. I'm really looking forward to ES2016 :D

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants