The Joy of Clojure

Michael Fogus, Chris Houser

出版时间

2011-04-04

ISBN

9781935182641

评分

★★★★★
书籍介绍
这不是一本教你怎么写 Clojure 语法的手册,而是一场关于「如何像 Lisp 那样思考」的说服。作者反复强调:Clojure 里做事有「对的方式」,而本书的价值在于让你真正理解这层 how 与 why——为什么宏能替你消除样板代码,为什么嵌套条件可以交给宏来处理,为什么函数式视角能重新定义你面对并发、互操作与性能难题时的选择。多位读者把它视作 SICP 之后的有力补充,认为它对 Clojure 的讲解「深入」,讲出了其他同类书没有触及的东西。但它也确实有争议:晦涩、难读、对没有 Lisp 或函数式基础的读者并不友好。如果你想的是快速上手写代码,它可能让你受挫;但如果你愿意被它「刁难」,它会悄悄改变你编程的方式。
作者简介
Michael Fogus is software developer with experience in distributed simulation, machine vision, and expert systems construction. He's actively involved in the Clojure and Scala communities. Chris Houser is a primary contributor to Clojure and has implemented several features for the language.
AI导读
核心看点
  • 超越语法,深入讲解Clojure惯用写法
  • 从函数式视角解决编程挑战,掌握Lisp技巧
  • 涵盖并发、互操作性及性能等硬核话题
读者共识
  • 公认最好的Clojure书籍,思想深刻
  • 可读性较差,对新手不够友好
  • 理论性强,适合追求编程艺术的人
精彩摘录
  • "Our industry, the global programming community, is fashion-driven to a degree that would embarrass haute couture designers from New York to Paris. We’re slaves to fashion. Fashion dictates the programming languages people study in school, the languages employers hire for, the languages that get to b"
  • "In some sense, all this was inevitable, I think. Lisp—the notion of writing your code directly in tree form—is an idea that’s discovered time and again. People have tried all sorts of crazy alternatives, writing code in XML or in opaque binary formats or using cumbersome code generators. But their a"
  • "Now you could write out the nested if structure manually and achieve the same result, but the beauty of macros lies in the fact that they can do so on your behalf while presenting a lightweight and intuitive form. In cases where do-until can be used, it removes the need to write and maintain superfl"
用户评论
例程不错……Clojure这种现代Lisp的确适合行为艺术家的创作 :) (Update: 后面几章没怎么读懂,跟并发有关的话题总是令人费解)
当时没有坚持读完,好书还是思想的碰撞啊。
入门可看
很好!
一本看了有翻译的冲动的书,推荐给编程语言爱好者。喜欢这本书的各位也可以关注Fogus的推特与博客,look to the master, follow the master, walk with the master, see through the master, become the master...
有意思 偏理论
歪果仁喜欢在第一章就说,for instance bblala,bblala出现在12th chapter ●—●
还是有点难
Best Clojure book on the market. Harder to read than the rest, though.
下载
收藏