Frontend Masters Road Show (NYC)

Frontend Masters is hitting the road to bring deep JavaScript goodness to New York City! Join us for a 2-day workshop with Kyle Simpson: From Functional To Async with Kyle Simpson more info

Hurry! Tickets are almost sold out.


Bonus! Your ticket comes with a free 1-year subscription to Frontend Masters (over $300 value!). The leading platform for video training from many of the industry's most respected practitioners and sought-after teachers. Learn from more than 50 in-depth courses recorded as taught before live audiences with Q&A and exercises, and carefully edited to create a best-in-class learning experience. Find out why thousands of developers invest tens of thousands of hours per month learning from these masters!

Tickets

Register interest

Additional Information

From Functional To Async with Kyle Simpson

In this two-day workshop, Kyle Simpson, aka @getify and author of the widely read "You Don't Know JS" book series, will lead you through a ground-up rethinking in a wide range of JavaScript topics around functional programming and async patterns. Through not only lectures but also both independent and guided-exercises, this workshop will dive deep into the foundational concepts that you need to grasp to take your JS to the next level.

We'll start by tackling one of the more daunting areas in all of software development: functional programming (FP). If statements like, "a monad is just a monoid in the category of endofunctors" intimidate or confuse you -- they certainly do me -- then you need to join this class. If you're not already steeped in the traditions of formality, notation and academia that seem to drive most discussions around FP, don't worry, you're not alone. Many of us get quickly lost wading through all those terms and symbols.

But hidden under all that noise, there's a wealth of powerful concepts that all programmers can and should be using to bring their code up from merely working to readable and maintainable. I call this approach "Functional-Light JavaScript".

So, we'll patiently walk step by step through each practical FP pattern, staying as far from those crazy functor-like words as we can. We'll see just how sensible and intuitive many parts of FP really are. This is the primer on FP in JavaScript that you've been looking for.

FP topics covered will include:

  • Side Effects vs Pure Functions
  • Function Composition
  • Value Immutability
  • Closure
  • Partial Application, Currying
  • Recursion
  • List Operations (map, reduce, filter)
  • Bonus Extra Credit: Fusion and and Transducing

Armed with our practical FP(Light) skills, we'll then turn out attention to perhaps the most confusing part of any modern JS application: the asynchronous operations. You think you know callbacks, and maybe you're even shipping promises in production already. But we're going to go back to first principles and rethink this whole async thing from the bottom up.

We'll first see that async is just one model for an incredibly important concept: concurrency. We'll even talk about the human brain to motivate our search for more powerful async patterns to model our application's complex tasks. Our goal is to level-up to what I think is the new baseline for competency in today's modern concurrent JavaScript.

To get going, we'll get really comfortable with promises and generators, and see how we can use them together to solve callback hell. But our journey doesn't stop there. Powerful JS applications demand far more async capability than we know how to properly model yet. So we need to look to even more sophisticated patterns, like reactive observables and channel-based CSP. Don't just copy-n-paste code the way your framework docs say to do it; really understand what's going on. This workshop teaches not just how to do async, but how to think async.

Async topics covered will include:

  • Callbacks
  • Thunks
  • Promises
  • Generators
  • Reactive Observables
  • CSP

Isn't it time for some serious re-thinking to up your JavaScript game? Come join us for this redefining workshop!

Buy A Ticket!