Skip to content

Instantly share code, notes, and snippets.

@rauschma
Last active April 8, 2018 02:26
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save rauschma/983e7c314ae1f7362094 to your computer and use it in GitHub Desktop.
Save rauschma/983e7c314ae1f7362094 to your computer and use it in GitHub Desktop.
ECMAScript 6 influences

Technologies that influenced ES6 features:

  • Generators: Python
  • Arrow functions: CoffeeScript
  • const: C++ (the latest C standard has borrowed it from C++)
  • let: is old, became popular via BASIC.
    • Also frequently appears in functional programming languages (Lisp, ML, etc.), but creates immutable bindings there.
  • Template literals: E (quasi literals)
  • Destructuring: Lisp (destructuring bind)
  • Modules: CommonJS, AMD
  • Species pattern (Symbol.species): Smalltalk

Others?

@jbravar
Copy link

jbravar commented Apr 17, 2015

Not sure if it was an influence, but the destructuring reminds me of rust.

@getify
Copy link

getify commented Apr 17, 2015

E futures -> Promises

@bevacqua
Copy link

C# definitely. Arrow functions, generators, async/await

@vaclavbohac
Copy link

Symbols and ruby / erlang?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment