书籍 Functional-Light JavaScript的封面

Functional-Light JavaScript

Kyle Simpson

出版时间

2017-11-27

ISBN

9781981672349

评分

★★★★★

标签

编程

书籍介绍

Functional-Light JavaScript is a balanced, pragmatic exploration of Functional Programming in JavaScript.Functional Programming (FP) is an incredibly powerful paradigm for structuring code that yields more robust, verifiable, and readable programs. If you've ever tried to learn FP but struggled with terms like "monad", mathematical concepts like category theory, or symbols like (lambda), you're not alone.Functional-Light programming distills the most vital aspects of FP—function purity, value immutability, composition, and more!—down to approachable JavaScript patterns. Rather than the all-or-nothing dogmatism often encountered in FP, this book teaches you how to improve your programs line by line.

目录
Foreword
Preface
Mission
Chapter 1: Why Functional Programming?
At a Glance

显示全部
用户评论
读的是github在线版:https://github.com/getify/Functional-Light-JS。记录一下关键知识点:纯函数,函数的arity,闭包,柯里化,局部应用,懒惰求值(利用reducer里层嵌套fn,一层一层包装执行,例如fn2(fn1(..args))延迟执行),数学幂等性,Observable。总体而言,是一本挺费解的书籍。毕竟习惯上还是imperative比较直观,functional 的方式比较抽象。