“if you're just starting to find out all about using Lisp to do web development this might be a good read:”
Peter Seibel 用 Common Lisp 写了一系列小项目,例如简单数据库、单元测试框架,边做边讲语言特性。书里专门讲了宏、条件系统和泛型函数等 Lisp 的特色功能。和偏理论的 Lisp 教材相比,它更强调写出能用的程序,全书可在官网免费在线阅读。
HN 上的人多把它当作学 Common Lisp 的首选入门书,称赞宏、条件系统等章节讲得好懂,项目驱动让人看到 Lisp 的实际用处;也有人批评它更像写给有经验程序员的书。
有一定编程经验、想学 Common Lisp 的人
怎么读
由 Claude 根据这本书和 HN 上的说法整理,可能有错- 1先装好 Common Lisp 环境,跟着前面的章节敲代码
- 2宏和条件系统的章节值得细读,是 Lisp 的精华
- 3数据库和单元测试这类项目章节最好自己动手重做一遍
- 4和 ANSI Common Lisp 配合着读,互相补充
HN 书评
推荐在前,同类按时间 · 每本最多保留 20 条,统计用全部提及 · 作者本人贴的不算“Peter Seibel's book has a good chapter on them: Practical Common Lisp”
“Right now, for fun, I'm reading Practical Common Lisp, The Little Schemer, and ANSI Common Lisp.”
“The last significant reference I've used is Practical Common Lisp by Peter Siebel, which can be found online.”
“Everyone beat me to the punch, but my starting list for Common Lisp is:”
“For the cute version of why Lisp macros are so awesome check out chapter 8 of Practical Common Lisp.”
看全部 20 条 →
“Its a great book to learn Lisp from IMO.”
“Practical Common Lisp is great.”
“This looks particularly helpful:”
“The best demonstration of that "big system" effect that I've seen, that's easy and small enough to read and comprehend, is the database[1] or unit testing[2] chapters in Practical Common Lisp.”
“I know you already mentioned and dismissed Practical Common Lisp (free online at Practical Common Lisp), but it may be worth a second look once you get a further through ANSI Common Lisp - they're pretty complementary, IMHO.”
“Why? Because I found it was a useful book and wanted to support the author and own a physical copy.”
“Learning lisp from Practical Common Lisp. I still completely suck at lisp, but my eyes are opened to what you can do with functional programming and metaprogramming.”
“Practical Common Lisp is a pretty good book, that covers these things.”
“An excellent recent book is Peter Seibel's Practical Common Lisp.”
“A more recent book, Practical Common Lisp is an introduction in Lisp on the basis of the Common Lisp dialect.”
“In any case, I though the chapter on conditions in PCL was pretty good: Practical Common Lisp”
“Read Practical Common Lisp for a more thorough explanation.”
“This is a great place to start: Practical Common Lisp”
“Lisp in a box and Practical Common Lisp aren't helping me stay on task. The look like they're made for guys who are learning their sixth programming language.”