In this series we’ll take a closer look at progressive decoupling in Drupal 8. We’ll go through the project setup, check the tools and libraries and discuss potential applications. Let’s start with the definition.
Reduces the redundancy when getting values from arrays and objects.
Reduces redundancy when composing objects out of variables.
Makes it possible to compose objects out of other objects.
Make function definitions more compact.
It’s especially useful for higher order functions. A click handler, for instance, can be created like this.
Default parameter values
Object Oriented Programming is much more intuitive now.
Example from http://es6-features.org
These friendly creatures make it possible to insert variables into strings.