Skip to content

Instantly share code, notes, and snippets.

@MsJennyGiraffe
Forked from anonymous/es6-research.markdown
Last active October 10, 2016 03:15
Show Gist options
  • Save MsJennyGiraffe/0e589ee010543764a180b997954e7143 to your computer and use it in GitHub Desktop.
Save MsJennyGiraffe/0e589ee010543764a180b997954e7143 to your computer and use it in GitHub Desktop.
Length Points Week
15 minutes 5 Week 1

ES6 Research

Throughout the module (and your journey to Google enlightenment while working on IdeaBox2.0) you may notice a few different ways that JavaScript code is being written.

That might have something to do with something called ES6 and ES5

Deliverable

  • Fork This Gist

  • Respond in your forked gist with answers to the following questions

    • What is ES6?

      • ES6 is the newest version of ECMAScript, which has significant changes to the language since the last major update was in 2009. These changes affect JavaScript.
    • What is Transpilation and how does it relate to ES6?

      • Transpilation is a compiler that takes source code of a program written in a programming language and produces equivalent source code in a different programming language, and the two languages are at the same level of abstration from machine code. We need transpilers because Javascript environments only understand JavaScript. So it takes the ES6 language and compiles it to JavaScipt.
    • Looking at the ES6 Features link below, discuss one update from ES5 and if it seems useful/superfluous

      • Coming from Ruby, the class syntax makes OO programming in JavaScipt a lot easier to understand. The constructor looks a lot like the initialize process and makes it more comfortable and easy to read. I like the structure it creates; it seems less like a cobbled-together mess. I also didn't like before how you had to call prototype on the class to give it a method and didn't understand why not declare it from the start, and this feels like it would give me that option.
  • You can use the resources below or your own Google-fu

Resources

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