Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.43 KB

File metadata and controls

41 lines (25 loc) · 1.43 KB

#Web Engineering with ES6 A non exhaustive introduction to ECMAScript 2016 with a focus on how each feature helps us write better code

Slides: http://mmikoff.net/slides/intro_es6/

##Outline

###Readability If you want your code to be easy to write, make it easy to read. --Uncle Bob

Relevant ES6 Functionalities: Object literals syntax, destructing and spread, arrow functions, classes

###Quality Beware of bugs in the above code; I have only proved it correct, not tried it. --Donald Knuth

Relevant ES6 Functionalities: const and let, classes (methods on prototype), arrow functions (var self = this;), WeakMap (memory leaks), Number methods (precision), ...

###Abstraction The art of programming is the art of organizing complexity --Edsger Dijkstra

Relevant ES6 Functionalities: Map, Set, Generators, Promises

###Evolution We must state relationships, not procedures. --Mary Grace Hopper

Async/Await, WebAssembly, HTTP2, Web APIs

###Tools Release early. Release often. And listen to your customers --Eric Raymond

Relevant technologies (toolchains): babel, eslint, gulp, webpack

##Notes

Readability

fun fact: the romans wrote all caps with no spaces. that is hard to read. it is even harder to correctly copy by hand. The scribes of the middle ages found that introducing word gaps and punctuation helped reduce the number of error in copying.

Readability drives the way you think about your code.