“My favorite book of this type is Thinking Forth, available online at Thinking Forth.”
Thinking Forth
借 Forth 讲程序设计思想:分解、命名、简洁与可维护
Leo Brodie 的这本书以 Forth 语言为载体,讲软件设计的思考方式,包括如何分解问题、给词(word)命名、保持代码简短易维护,以及何时用 Forth 构建领域专用语言。书中用漫画式插图和大量例子说明,内容并不局限于 Forth,对其他语言的程序员也有启发。它是 Starting Forth 的进阶读物,偏重设计而非语法。书写于较早年代,部分细节已显得陈旧。
HN 上很多人说它改变了自己写程序的方式,即使没怎么写过 Forth 也值得读;常被称作关于设计与简洁的好书,也被推荐用来理解基于栈的语言的思维模型。有人提醒其中部分信息已经过时。
对程序设计思想感兴趣的程序员
怎么读
由 Claude 根据这本书和 HN 上的说法整理,可能有错- 1完全没接触过 Forth,先读 Starting Forth 或了解基本语法
- 2把重点放在设计与分解的思想上,不必纠结具体实现
- 3读的时候想想这些原则如何用到自己常用的语言里
- 4过时的部分略读即可
HN 书评
推荐在前,同类按时间 · 每本最多保留 20 条,统计用全部提及 · 作者本人贴的不算“For anyone who’s never read it, I strongly recommend Thinking Forth.”
“Actually, Forth (the predecessor of concatenate languages) has the best tutorials I've ever read - Starting Forth and Thinking Forth by Leo Brodie.”
“"Thinking Forth" by Leo Brodie --> Thinking Forth”
“Thinking Forth. Nearly 35 years later it still probably dominates my approach.”
“I highly recommend the book "Thinking Forth"”
看全部 20 条 →
“If you're interested in Forth, check out the online Thinking Forth book project: Thinking Forth”
“I'd add the book "Thinking Forth", which I just read again recently:”
“It was one of two books that really affected how I program and even though it's about Forth (and I've never really did much Forth programming), it's worth reading.”
“Read Starting Forth[2] for a gentle introduction to the language and Thinking Forth[3] for an in-depth examination of the idioms and patterns of Forth programming.”
“I learned a lot from this book.”
“One of the best development books I've read is Thinking Forth [1].”
“It's a good read even if you never intend to build a forth project.”
“you may also be interested in Thinking Forth and (链接)”
“You should read Leo Brodie's book "Thinking Forth".”
“I'd also recommend looking at Thinking Forth if you want to get some more insight into Forth's philosophy, and really program structuring in general.”
“though I remembered there's this if you want an idea of the philosophy Thinking Forth”
“Thinking Forth is a pretty good starting point and in general a great programming book Thinking Forth”
“You'd have to read "Thinking Forth" by Brodie”
“So this kind of information is a bit dated.”