Functional-Light JavaScript
Functional-Light JavaScript (Book & Code)
$11.99
Minimum price
$17.99
Suggested price
Functional-Light JavaScript

This book is 100% complete

Completed on 2018-02-09

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.

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

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

  • English

  • PDF

  • EPUB

  • MOBI

  • APP

$11.99
Minimum price
$17.99
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

  • English

  • PDF

  • EPUB

  • MOBI

  • APP

$54.95
Minimum price
$77.99
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

  • English

  • PDF

  • EPUB

  • MOBI

  • APP

$109.90
Minimum price
$139.99
Suggested price

About the Author

Kyle Simpson
Kyle Simpson

Kyle Simpson is an evangelist of the open web, passionate about all things JavaScript. He's an author, trainer, speaker, and OSS contributor.

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.

About the Publisher

This book is published on Leanpub by GetiPub

GetiPub helps aspiring authors with assisted self-publishing.

The Leanpub 45-day 100% Happiness Guarantee

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

See full terms...

Write and Publish on Leanpub

Authors and publishers use Leanpub to publish amazing in-progress and completed ebooks, just like this one. You can use Leanpub to write, publish and sell your book as well! 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. It really is that easy.

Learn more about writing on Leanpub