按年被提到
20102011 · 5 次2026
开源书›编程语言·No.80

Let Over Lambda

Let Over Lambda:Lisp 五十年
Doug Hoyte

围绕 Common Lisp 宏展开的进阶之作,观点鲜明

免费阅读 ↗
被推荐 · 39 人首次 2010-01-16 · 最近 2025-08-21官方免费在线(版权保留,作者或出版社免费放出)
39不同的人
34活跃月份
8有推荐的月份
38讨论串

Doug Hoyte 写的 Common Lisp 宏编程专著,围绕闭包与宏,讲读取宏、照应宏等高级技巧。作者观点鲜明,重在展示宏的威力,书中有大量示例代码。需要有一定 Lisp 基础,和 On Lisp 常被一起提起。官网只放出了部分章节供免费阅读。

HN 为什么推荐它

HN 上的人推荐它来了解 Lisp 宏有多强,称例子充实,常与 On Lisp 并提;有人读起来觉得有难度,也有评论批评它忽视了 defmacro 的一些问题。

难度 4 / 5约 25 小时
适合谁

已会 Lisp、想深入宏的程序员

读之前最好知道
1Common Lisp 基础
2闭包(closure)
3宏(macro)基本概念

怎么读

由 Claude 根据这本书和 HN 上的说法整理,可能有错
  1. 1先具备 Common Lisp 基础,再读本书
  2. 2优先读宏和读取宏相关的章节,自己敲例子
  3. 3对书中的强观点保持批判,对照其他资料核实
  4. 4与 On Lisp 配合着读,互相印证

HN 书评

推荐在前,同类按时间 · 每本最多保留 20 条,统计用全部提及 · 作者本人贴的不算
推荐vii · 2010-01

“I really like this book too and recommend it.”

也喜欢这本书并推荐,称有强大的 Lisp 工具但难读
A startup's "Why we use Lisp" story原评论 ↗
推荐martinflack · 2016-06

“Let Over Lambda chapter 4 which has various examples: Let Over Lambda”

指出第 4 章有各种 reader macro 的例子
Show HN: Full Stack Lisp – A book in progress about writing Common Lisp apps原评论 ↗
推荐EuAndreh · 2016-09

“Check Doug Hoyte's version in Let Over Lambda:”

推荐看 Hoyte 书里 Common Lisp 的 tail-call 优化宏
August 2016 Lisp Game Jam Postmortem原评论 ↗
推荐pepper_sauce · 2018-11

“Really though, I felt similarly to OP until I read On Lisp[0] and Let Over Lambda[1]. They are chock full of explicit examples.”

称读了 On Lisp 和它之后才改观,书里满是明确的例子
What makes Lisp macros so special?原评论 ↗
推荐andai · 2021-12

“Re: the distinction between subroutines and functions, I found (the first section of) this chapter to be interesting.”

觉得该章前半谈 subroutine 与 function 的区别很有意思
I can read C++ and Java but I can’t read Smalltalk (2000) [pdf]原评论 ↗
推荐keeeeeeeem · 2022-10

“you owe it to yourself to read Paul Graham (of HN)'s own work on compile time programming”

推荐去读 Paul Graham 谈编译期编程的作品,进一步看 pandoric macro
What Makes the Zig Programming Language Unique?原评论 ↗
看全部 20 条 →
推荐Jtsummers · 2024-05

“Let Over Lambda is also a good (opinionated) book on macros (most of the book is available for free)”

推荐它作讲 Lisp 宏的好书,观点鲜明,大部分免费
A Road to Common Lisp (2018)原评论 ↗
推荐dapperdrake · 2025-07

“For ideas on read macros look at Doug Hoyte's [1]”

推荐看 Hoyte 的书获取 read macro 的点子
Notes on Graham's ANSI Common Lisp (2024)原评论 ↗
批评danking00 · 2011-08

“I'm hesitant to put too much credence in this book when it seems to ignore significant problems with defmacro.”

批评它忽略了 defmacro 的重大问题,因而不敢太信
Let Over Lambda—50 Years of Lisp原评论 ↗
引用aiscott · 2012-01

“It didn't appear that Let over Lambda was free either, just some select chapters at the bottom of the page.”

指出它并不免费,只有页面底部几章可读
Free Programming Ebooks原评论 ↗
引用mcn · 2012-02

“you may be able to get away with macrolet. (Example: Let Over Lambda )”

用它举例,说明可以用 macrolet 代替
Lisp: It's Not About Macros, It's About Read原评论 ↗
引用zephyrfalcon · 2012-04

“[1] as demonstrated e.g. here: Let Over Lambda”

用它作示例来说明前面的论点
Interviews with Lisp Hackers: Pascal Costanza原评论 ↗
引用betterunix · 2013-02

“...have you really looked? Here is a warning, in the section titled, "Reader Security:"”

指出书中 Reader Security 一节就有相关警告
Is Lisp still useful in today's world? (2011)原评论 ↗
引用e12e · 2013-12

“At least I came across the following that seems to indicate that:”

引用书里的内容作为佐证
X server in 5000 lines of Common Lisp原评论 ↗
引用TeMPOraL · 2016-05

“This macro could easily expand to a "switch inside a while" (or, possibly, to a "let over lambda over cond", or maybe even into a series of low-level tagbody and go constructs).”

借 let over lambda 的说法描述宏可能展开成什么形式
Software Design Patterns Are Not Goals, They Are Tools原评论 ↗
引用mtreis86 · 2018-03

“"lisp is one of the least functional languages ever created" -Doug Hoyte Let Over Lambda”

引用 Hoyte 称 Lisp 是最不函数式的语言之一
How knowing Lisp destroyed my programming career (2006)原评论 ↗
引用jaccarmac · 2018-08

“this kind of macro is called an anaphoric macro and is featured in Let Over Lambda and On Lisp.”

指出这类宏叫 anaphoric macro,该书和 On Lisp 都讲过
引用village-idiot · 2018-10

“Not every language gives you the ability to modify the syntax of the language at run-time[0].”

拿它说明并非每种语言都能在运行时修改语法
A new version of Common-Lisp.net has been launched原评论 ↗
引用Reelin · 2020-05

“Does Nim really have read time macros?”

借它质疑 Nim 是否真有 read time macro
Circle – A C++ compiler with compile-time imperative metaprogramming原评论 ↗
引用hetzenmat · 2022-07

“There are read-macros which make this possible: The expression #1=(hello. #1#) builds a circular list that only contains the symbol "hello" [1].”

用 read-macro 解释如何写出循环列表
Six programming languages I’d like to see原评论 ↗