编程与软件工程mostly-adequate.gitbooks.io编辑精选
Frisby 教授的函数式编程够用指南(免费书)
Professor Frisby's Mostly Adequate Guide to Functional Programming (2015)
2018 — 2020,它一次次回到首页
黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。
导读
这是一本免费的在线函数式编程入门书,用 JavaScript 讲解 curry、compose、Functor、Monad 等核心概念,作者是 Brian Lonsdorf(网名 Professor Frisby / Dr Boolean)。全书以幽默的笔调写成,并用 Hindley-Milner 风格的类型签名标注函数,多年来被反复推荐为函数式编程的最佳入门读物之一。
为什么经久不衰:它用最平易近人的语言和最常见的 JavaScript 把函数式编程讲得透彻又有趣,多年后仍是入门这一领域的首选读物。
HN 评论精选
推荐配套的 Egghead 免费视频课程
很棒的书。另外推荐他在 Egghead 上的免费视频课程,风格相当古怪,我很喜欢。
jwarren查看英文原文
Great book. I'd also recommend his free video course on Egghead. It's rather quirky, which is something that I very much enjoyed: https://egghead.io/courses/professor-frisby-introduces-composable-functional-javascript
推荐另一本同类型的入门书 Functional-Light JS
Dr Boolean 的指南非常出色。另一本用 JavaScript 讲函数式编程的好书是 Kyle Simpson 的 Functional-Light JS,他也是《你不知道的 JS》系列的作者,这本书同样优秀。
vga805查看英文原文
Dr. Booleans guide is excellent. Another nice intro to functional programming using JavaScript is Kyle Simpsons functional lite:https://github.com/getify/Functional-Light-JS/blob/master/README.md Kyle wrote the You Don't Know JS series. This book is just as good.
赞赏书中用类型签名注释函数的做法
读起来不错。他用 Hindley-Milner 类型签名(以注释形式)标注函数,我更喜欢这种方式而不是 jsdoc。有人知道有没有能识别这类注释的 jsdoc 类工具吗?
christophilus查看英文原文
Good read. He annotates his function with Hindley-Milner type signatures (specified in comments). I really prefer this to, say, jsdoc. Anyone know if there's a jsdoc-like tool that understands these comments? That'd be pretty swank.
指出进阶方向:Fantasy Land 规范及相关库
Fantasy Land 规范以及 Sanctuary、Fluture 等相关库值得一提,可以作为读完本指南后的下一步。它有助于弥合数学/Haskell 视角与 JavaScript 实现之间的鸿沟,同时尽量不牺牲定义的严谨性。
dakom查看英文原文
The Fantasy Land spec and related libraries like Sanctuary and Fluture deserve a mention here, even if only as a next step after reading this guide. It helps bridge the gap between looking at all of this from the more math/Haskell perspective and how it's implemented in javascript, without sacrificing definitions (as much as possible).
历次讨论
同类还值得读
开源应用架构
The Architecture of Open Source Applications
《开源软件架构》(AOSA)是一本在线免费书,邀请知名开源项目的作者亲自剖析其内部设计,涵盖 SQLAlchemy、LLVM、Audacity、Apache、Bash 等系统。
编程与软件工程上首页 9 次 · 2011–2024aosabook.org编辑精选编程语言简史:简短、不完整且多半错误
A Brief, Incomplete, and Mostly Wrong History of Programming Languages
一篇以戏谑、故意不准确的方式回顾编程语言史的博客文章,用夸张轶事和讽刺定义串起 Lisp、C、C++、Java、JavaScript、PHP 等语言。
编程与软件工程上首页 8 次 · 2009–2021james-iry.blogspot.comSQLite 是如何测试的
How SQLite is tested
SQLite 官方文档页,系统介绍 SQLite 的测试体系:多种测试方法(TCL 测试、模糊测试、回归测试、静态分析等)和海量测试用例,展示了这个小型开源项目如何靠极致测试获得…
编程与软件工程上首页 8 次 · 2009–2025sqlite.org编辑精选高级编程语言(2009)
Advanced programming languages (2009)
Matt Might 的经典文章,按用途推荐“高级编程语言”:如果追求就业就选主流语言,如果追求表达力、学术研究或创业,则推荐 Haskell、OCaml、Scala 等函数式语…
编程与软件工程上首页 8 次 · 2009–2022matt.might.net我的 Forth 与栈机器经历
Yosefk - My history with Forth & stack machines
作者以亲身经历回顾了使用 Forth 语言和栈式机器的历程:既赞叹其简洁优雅、代码量小、可自举的优点,也坦率指出栈操作在实际编程中的痛苦,以及 Forth 社区文化中的问题。
编程与软件工程上首页 8 次 · 2010–2024yosefk.com编辑精选