Kyle wraps up the course with a few final thoughts about writing code for the reader—not the writer.
(funky oriental music)…- Just to recap the whole point of looking at ES6,…it's not about finding shiny new toys,…or looking at cool tricks to make ourselves feel smarter.…It's about finding ways to write code that is clear,…and more self-descriptive.…Because we'd like to optimize our code,…more for the reader than for the writer.…Often times code that's optimized for the reader…is also optimized for the writer,…but the reverse is not true.…When we optimize for ourselves, often times we forget about…who needs to maybe consume our code.…
Another member of our team, somebody a couple years from now…or even our future selves coming back to code.…'Cause I look at code I wrote a week ago,…and I'm already lost, I dunno maybe I'm the only one.…But I'd like to get a lot better at writing code.…I have this sort of ideal that maybe the best code,…best, is code that explains itself,…code that teaches itself.…Someone with no prior knowledge of my domain space,…or the problem I'm trying to solve,…could sit down and at one glance, one readthrough of my code…
This course was created by Frontend Masters. It was originally released on 01/10/2017. We're pleased to host this training in our library.
- The arrow function
- Arrow function variations
- Closures and explicit blocks
- Default values
- Using the gather and spread operators
- Dumping variables
- Concise properties and methods
- Symbols, iterators, and generators
- Optimizing codes for the reader
Skill Level Intermediate
1. Arrow Functions
2. Block Scope
3. Default Values and the Gather/Spread Operators
5. Template Strings
6. Symbols, Iterators, and Generators
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.