Functional-Light JavaScript (Book & Code)
$26.95
Minimum price
$29.95
Suggested price

Functional-Light JavaScript

Balanced, Pragmatic FP in JavaScript

About the Book

This book explores the core principles of functional programming (FP) as they are applied to JavaScript. But what makes this book different is that we approach these principles without drowning in all the heavy terminology. We look at a subset of FP foundational concepts that I call "Functional-Light Programming" (FLP) and apply it to JavaScript.

About the Author

Kyle Simpson
Kyle Simpson

Kyle Simpson is a web-oriented software engineer, widely acclaimed for his "You Don't Know JS" book series and nearly 1M hours viewed of his online courses. Kyle's superpower is asking better questions, who deeply believes in maximally using the minimally-necessary tools for any task. As a "human-centric technologist", he's passionate about bringing humans and technology together, evolving engineering organizations towards solving the right problems, in simpler ways. Kyle will always fight for the people behind the pixels.

Packages

Book & Code

Includes the ebook and the code for Chapter 11 "Stock Ticker" example.

Includes:

  • extras
    Chapter 11 Example Code

    Code for the Chapter 11 "Stock Ticker" example project

  • PDF

  • EPUB

  • WEB

  • English

$26.95
Minimum price
$29.95
Suggested price
5 Ebook License

5 licenses for the ebook, plus the Chapter 11 example code.

Includes:

  • extras
    Chapter 11 Example Code

    Code for the Chapter 11 "Stock Ticker" example project

  • PDF

  • EPUB

  • WEB

  • English

$109.95
Minimum price
$124.95
Suggested price
10 Ebook License

10 licenses for the ebook, plus the Chapter 11 example code.

Includes:

  • extras
    Chapter 11 Example Code

    Code for the Chapter 11 "Stock Ticker" example project

  • PDF

  • EPUB

  • WEB

  • English

$199.95
Minimum price
$229.95
Suggested price

About the Contributors

Brian Lonsdorf
Brian Lonsdorf

Technical Editor, Foreword

Brian MacDonald
Brian MacDonald

Editor

Reader Testimonials

Hannes Lund
Hannes Lund

Software Developer

By focusing on the principles instead of terminology I now feel much more confident in my understanding of the foundation of functional programming. I'm motivated and excited to dive even deeper!

Islam Attrash
Islam Attrash

JS Engineer

I can say for sure that the FLJS book is mind-blowing! I almost lost my mind with the concepts it explains! This book gave me the right way of programming by understanding concepts more than focusing on Frameworks!

Dmitri Wolf
Dmitri Wolf

Front End Developer, IBM

Nobody explains JavaScript as well as Kyle Simpson. He is as thorough as he is humble, explaining complex ideas in simple language. Kyle makes learning JavaScript easy without skipping the details.

Table of Contents

  • Foreword
  • Preface
    • Mission
  • Chapter 1: Why Functional Programming?
    • At a Glance
    • Confidence
    • Communication
    • Readability
    • Perspective
    • How to Find Balance
    • Resources
    • Summary
  • Chapter 2: The Nature Of Functions
    • What Is a Function?
    • Function Input
    • Named Arguments
    • Function Output
    • Functions of Functions
    • Syntax
    • What’s This?
    • Summary
  • Chapter 3: Managing Function Inputs
    • All for One
    • Adapting Arguments to Parameters
    • Some Now, Some Later
    • One at a Time
    • Order Matters
    • No Points
    • Summary
  • Chapter 4: Composing Functions
    • Output to Input
    • General Composition
    • Reordered Composition
    • Abstraction
    • Revisiting Points
    • Summary
  • Chapter 5: Reducing Side Effects
    • Effects on the Side, Please
    • Once Is Enough, Thanks
    • Pure Bliss
    • There or Not
    • Purifying
    • Summary
  • Chapter 6: Value Immutability
    • Primitive Immutability
    • Value to Value
    • Reassignment
    • Performance
    • Treatment
    • Summary
  • Chapter 7: Closure vs. Object
    • The Same Page
    • Look Alike
    • Two Roads Diverged in a Wood…
    • Summary
  • Chapter 8: Recursion
    • Definition
    • Declarative Recursion
    • Stack
    • Rearranging Recursion
    • Summary
  • Chapter 9: List Operations
    • Non-FP List Processing
    • Map
    • Filter
    • Reduce
    • Advanced List Operations
    • Method vs. Standalone
    • Looking for Lists
    • Fusion
    • Beyond Lists
    • Summary
  • Chapter 10: Functional Async
    • Time as State
    • Eager vs. Lazy
    • Reactive FP
    • Summary
  • Chapter 11: Putting It All Together
    • Setup
    • Stock Events
    • Stock Ticker UI
    • Summary
  • Appendix A: Transducing
    • Why, First
    • How, Next
    • What, Finally
    • Summary
  • Appendix B: The Humble Monad
    • Type
    • Loose Interface
    • Just a Monad
    • Maybe
    • Humble
    • Summary
  • Appendix C: FP Libraries
    • Stuff to Investigate
    • Ramda (0.23.0)
    • Lodash/fp (4.17.4)
    • Mori (0.3.2)
    • Bonus: FPO
    • Bonus #2: fasy
    • Summary
  • Notes

About the Publisher

This book is published on Leanpub by GetiPub

GetiPub helps aspiring authors with assisted self-publishing.

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub