Skip to content

Commit

Permalink
async+perf: fixing couple of minor issues in Foreword wording, per @cvan
Browse files Browse the repository at this point in the history
, closes getify#326
  • Loading branch information
getify committed Feb 13, 2015
1 parent 645048c commit c8bb7c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions async & performance/foreword.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ If I want to get a picture of someone's core JavaScript skill, I'm most interest

For starters, you'll be taken through callbacks, the bread and butter of asynchronous programming. Of course, bread and butter does not make for a particularly satisfying meal, but the next course is full of tasty tasty promises!

If you don't know promises, now is the time to learn. Promises are now the official way to provide async return values in both JavaScript and the DOM. All future async DOM APIs will use them, many already do, so be prepared! At the time of writing, Promises have shipped in most major browsers, with IE shipping soon.. Once you've finished that, I hope you left room for the next course, Generators.
If you don't know promises, now is the time to learn. Promises are now the official way to provide async return values in both JavaScript and the DOM. All future async DOM APIs will use them, many already do, so be prepared! At the time of writing, Promises have shipped in most major browsers, with IE shipping soon. Once you've finished that, I hope you left room for the next course, Generators.

Generators snuck their way into stable versions of Chrome & Firefox without too much pomp and ceremony, because, frankly, they're more "complicated" than they are "interesting". Or, that's what I thought until I saw them combined with promises. There, they become an important tool in readability and maintenance.
Generators snuck their way into stable versions of Chrome and Firefox without too much pomp and ceremony, because, frankly, they're more complicated than they are interesting. Or, that's what I thought until I saw them combined with promises. There, they become an important tool in readability and maintenance.

For dessert, well, I won't spoil the surprise, but prepare to gaze into the future of JavaScript! Features that give you more and more control over concurrency and asynchronicity.

Expand Down

0 comments on commit c8bb7c6

Please sign in to comment.