https://github.com/getify/Functional-Light-JS
Pragmatic, balanced FP in JavaScript. @FLJSBook on twitter.
https://github.com/getify/Functional-Light-JS
book education functional-programming javascript training-materials training-providers
Last synced: over 1 year ago
JSON representation
Pragmatic, balanced FP in JavaScript. @FLJSBook on twitter.
- Host: GitHub
- URL: https://github.com/getify/Functional-Light-JS
- Owner: getify
- License: other
- Created: 2016-08-17T01:40:50.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-12-26T15:46:02.000Z (almost 3 years ago)
- Last Synced: 2024-10-29T15:03:06.350Z (about 2 years ago)
- Topics: book, education, functional-programming, javascript, training-materials, training-providers
- Language: JavaScript
- Homepage: http://FLJSBook.com
- Size: 30.3 MB
- Stars: 16,642
- Watchers: 462
- Forks: 1,957
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-javascript - getify/Functional-Light-JS - Pragmatic, balanced FP in JavaScript. \@FLJSBook on twitter. (Learning and Reference / Tutorials and Books)
- awesome-github-projects - Functional-Light-JS - Pragmatic, balanced FP in JavaScript. \@FLJSBook on twitter. ⭐16,716 `JavaScript` (📦 Legacy & Inactive Projects)
- awesome-me - Functional Lite by Kyle
- awesome-learning-resources - Functional-Light JavaScript - 。将函数式编程思想应用在 JavaScript 开发中。虽然 JavaScript 很难做到“最纯正”的函数式编程,但是本着实用主义的心态,学习多一种编程范式,对于开发者来说是十分有益的,更何况很多前端框架都借鉴了函数式编程思想。 (JavaScript 开发进阶)
- A-collection-of-awesome-browser-side-JavaScript-libraries-resources-and-shiny-things. - Functional-Light JavaScript - Pragmatic, balanced FP in JavaScript. (Podcasts)
- awesome-javascript - Functional-Light JavaScript - Pragmatic, balanced FP in JavaScript. @FLJSBook on twitter. ` 📝 a year ago ` (Worth Reading [🔝](#readme))
- fucking-awesome-javascript - Functional-Light JavaScript - Pragmatic, balanced FP in JavaScript. (Misc)
- awesome-starred - getify/Functional-Light-JS - Pragmatic, balanced FP in JavaScript. @FLJSBook on twitter. (education)
- awesome-list - Functional-Light-JS
- awesome-js-resources - Functional-Light-JS
- awesome-javascript - Functional-Light JavaScript - Pragmatic, balanced FP in JavaScript. (Misc)
- agentic-tools - getify/Functional-Light-JS - 16.7k (The lists / Learning & Reference)
- awesome - Functional Light JS
- github-ultimate-repos - getify/Functional-Light-JS - | ⭐ 16,724★ | 🍴 1,908 | 💻 `JavaScript`🔗 <https://github.com/getify/Functional-Light-JS>📝 Pragmatic, balanced FP in JavaScript. \@FLJSBook on twitter.⚙️ `Declarative component IR -> Fiber lanes / fine-grained topological signals -> progressive streaming SSR hydration -> Rust Oxide AST utility CSS compilation -> DOM patch.` (📜 Master Categorized Repository Directory (100% Clickable Links) / [49] MODERN FRONTEND FRAMEWORKS, REACTIVE WEB ENGINES (REACT/VUE/SVELTE) & BUNDLERS)
- learning-resources -
- awesome-javascript-libraries - getify/Functional-Light-JS - A book about functional programming in JavaScript. \@FLJSBook on twitter. (Uncategorized / Uncategorized)
- awesome-javascript-learning - Functional-Light JavaScript - This book explores the core principles of functional programming (FP) as they are applied to JavaScript. (Free eBooks)
- awesome-js-resources - Functional-Light-JS
- awesome-ember - Pragmatic, balanced FP in JavaScript
README
# Functional-Light JavaScript
[](http://creativecommons.org/licenses/by-nc-nd/4.0/)
This book is a balanced, pragmatic look at FP in JavaScript. The first edition is now complete. Read here online **for free**, or:
"Functional-Light JavaScript" 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.
**Note:** Despite the word "Light" in the title, I do not consider or recommend this book as a "beginner", "easy", or "intro" book on the topic. This book is rigorous and full of gritty detail; it expects a solid foundation of JS knowledge before diving in. "Light" means limited in scope; instead of being more broad, this book goes much deeper into each topic than you typically find in other FP-JavaScript books.
Let's face it: unless you're already a member of the FP cool kids club (I'm not!), a statement like, "a monad is just a monoid in the category of endofunctors", just doesn't mean anything useful to us.
That's not to say the terms are meaning*less* or that FPrs are bad for using them. Once you graduate from Functional-Light, you'll maybe/hopefully want to study FP more formally, and you'll certainly have plenty of exposure to what they mean and why.
But I want you to be able to apply some of the fundamentals of FP to your JavaScript *now*, because I believe it will help you write better, more *reason*able code.
**To read more about the motivations and perspective behind this book, check out the [Preface](manuscript/preface.md).**
## Book
[Table of Contents](manuscript/README.md/#table-of-contents)
* [Foreword](manuscript/foreword.md/#foreword) (by [Brian Lonsdorf, aka "Prof Frisby"](https://twitter.com/DrBoolean))
* [Preface](manuscript/preface.md/#preface)
* [Chapter 1: Why Functional Programming?](manuscript/ch1.md/#chapter-1-why-functional-programming)
* [Chapter 2: The Nature Of Functions](manuscript/ch2.md/#chapter-2-the-nature-of-functions)
* [Chapter 3: Managing Function Inputs](manuscript/ch3.md/#chapter-3-managing-function-inputs)
* [Chapter 4: Composing Functions](manuscript/ch4.md/#chapter-4-composing-functions)
* [Chapter 5: Reducing Side Effects](manuscript/ch5.md/#chapter-5-reducing-side-effects)
* [Chapter 6: Value Immutability](manuscript/ch6.md/#chapter-6-value-immutability)
* [Chapter 7: Closure vs Object](manuscript/ch7.md/#chapter-7-closure-vs-object)
* [Chapter 8: Recursion](manuscript/ch8.md/#chapter-8-recursion)
* [Chapter 9: List Operations](manuscript/ch9.md/#chapter-9-list-operations)
* [Chapter 10: Functional Async](manuscript/ch10.md/#chapter-10-functional-async)
* [Chapter 11: Putting It All Together](manuscript/ch11.md/#chapter-11-putting-it-all-together)
* [Appendix A: Transducing](manuscript/apA.md/#appendix-a-transducing)
* [Appendix B: The Humble Monad](manuscript/apB.md/#appendix-b-the-humble-monad)
* [Appendix C: FP Libraries](manuscript/apC.md/#appendix-c-fp-libraries)
## Publishing
This book has been published and is now available for purchase (in both ebook and print formats) from these sources:
If you'd like additionally to contribute financially towards the effort (or any of my other OSS work) aside from purchasing the book, I do have a [patreon](https://www.patreon.com/getify) that I would always appreciate your generosity towards.
## In-person Training
The content for this book derives heavily from a training workshop I teach professionally (in both public and private-corporate workshop format) of the same name.
If you like this content and would like to contact me regarding conducting training on this, or other various JS/HTML5/Node.js topics, please reach out to me through email: getify @ gmail
## Online Video Training
I also have several JS training courses available in on-demand video format. I [teach courses](https://FrontendMasters.com/teachers/kyle-simpson) through [Frontend Masters](https://FrontendMasters.com), like my [Functional-Light JavaScript v2](https://frontendmasters.com/courses/functional-javascript-v2/) workshop. Some of my courses are also available on [PluralSight](https://www.pluralsight.com/search?q=kyle%20simpson&categories=all).
## Contributions
Any contributions you make to this effort **are of course greatly appreciated**.
But **PLEASE** read the [Contributions Guidelines](CONTRIBUTING.md) carefully before submitting a PR.
## License & Copyright
The materials herein are all (c) 2016-2018 Kyle Simpson.

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 4.0 Unported License.
