编程与软件工程stevelosh.com
通往 Common Lisp 之路
A Road to Common Lisp
2018 — 2024,它一次次回到首页
黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。
导读
这是 Steve Losh 写的一篇 Common Lisp 入门指南,面向想学习 CL 的程序员,涵盖学习路径、开发环境搭建和常用库推荐。文章难得地坦诚讨论了 Common Lisp 的丑陋之处,而不是一味吹捧,并提醒读者不要因为库多年未更新就误以为它们被废弃——CL 的稳定性意味着很多库只是'完成了'而已。
为什么经久不衰:它以诚实、不神化的视角介绍 Common Lisp,且 CL 生态的稳定性让这篇指南多年后依然适用,反复登上 HN 首页证明了其长期价值。
HN 评论精选
CL 库长期不更新不代表废弃,而是语言本身足够稳定
> 我的建议是:当你学习 Common Lisp 并寻找库时,尽量压制脑子里那个声音——'这项目六年前最后更新?大概被废弃了吧。' Common Lisp 的稳定性意味着有些库只是'完成了',而不是被抛弃,所以不要轻易否定它们。
tumba查看英文原文
> My advice is this: as you learn Common Lisp and look for > libraries, try to suppress the voice in the back of your > head that says “This project was last updated six years > ago? That’s probably abandoned and broken.” The stability > of Common Lisp means that sometimes libraries can just be > done, not abandoned, so don’t dismiss them out of hand. I have found this to be true in my own experience. The perception of stagnation is, however, a common initial objection to folks working in CL for the first time.
CL 的向后兼容性使其能对抗软件腐烂,这是作者选择 CL 的核心动机
在 Freenode 的 #mercurial 频道里,sjl 说过:'90 年代初的 CL 代码在一个月前发布的 SBCL 上照样能跑。但运行五年前的 Python/Ruby/Scala 会让我痛恨人生。'这呼应了他早先的博客文章《volatile software》。我总觉得对抗软件腐烂是 sjl 拥抱 CL 的主要动机。
jordigh查看英文原文
In Freenode's #mercurial, sjl said this about common lisp: <sjl_> CL code from the early 90's runs just fine on SBCL from a month ago <sjl_> But trying to run five-year-old python/ruby/scala makes me hate life. This echoes his earlier blog post, volatile software: http://stevelosh.com/blog/2012/04/volatile-software/ I kind of have the feeling that fighting bitrot is sjl's main motivation for CL.
文章坦诚讨论 Lisp 缺点而非一味吹捧,因此更可信
我还没读完,但看到前言里的'丑陋'一节就让我对这篇文章充满期待。能看到一篇不全是颂歌的 Lisp 文章真是太好了。
bunderbunder查看英文原文
I haven't read the whole thing, but, I gotta say, seeing the "Ugliness" section (http://stevelosh.com/blog/2018/08/a-road-to-common-lisp/#ugliness) in the preamble gives me high hope for this writeup. It's so lovely to see writing on Lisp that isn't just hagiography.
读者推荐 Norvig 的 PAIP 一书作为学习 CL 的补充路径
感谢这份指南,我会经常回来查阅。我目前学习 CL 的路径是研读 Peter Norvig 的《Paradigms of Artificial Intelligence Programming》。它不是通往当今大多数编程工作的直接路线,但我希望至少能体验一下经典 AI 时代研究者的感觉。
krmboya查看英文原文
Thanks for this guide, I'll keep referring to it often. My current road to Common Lisp is working through Peter Norvig's book Paradigms of Artificial Intelligence Programming [0]. It's not a direct route to the kind of programming most people do nowadays, but I hope to at least get a taste of what it was to be a researcher in classical AI. [0] https://github.com/norvig/paip-lisp
历次讨论
同类还值得读
开源应用架构
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编辑精选