“Also a great way to learn to program the right way.”
How to Design Programs
用 Racket 教你按步骤设计程序的入门教材
How to Design Programs(HtDP)面向第一次学编程的人,用 Racket 系的教学语言,把写程序拆成一套可重复的设计步骤:先分析数据,再写函数契约和示例,最后写出函数体。书里有大量练习,并配套 DrRacket 环境。和 SICP 相比,它更慢、更手把手,重点是教会读者怎样思考程序,而不是展示语言的表达力。
HN 上的人常把它当作比 SICP 更容易上手的第一本书,称赞它讲得清楚、练习多,适合自学和零基础的人,也有人说老手拿来复习同样有用。
想从零系统学编程、喜欢循序渐进的自学者
怎么读
由 Claude 根据这本书和 HN 上的说法整理,可能有错- 1从头读起,配合 DrRacket 动手,不要只看不写
- 2每一章的设计步骤都照着做,先写数据定义和示例再写代码
- 3练习尽量全做,这是书的核心
- 4学完想挑战更深的内容,再接着读 SICP
HN 书评
推荐在前,同类按时间 · 每本最多保留 20 条,统计用全部提及 · 作者本人贴的不算“these are books I read in the past year and was very impressed with the clarity of the presentation.”
“leaves out a link to "How to Design Programs", an introductory programming text (available in full online) designed to complement DrScheme.”
“Read HTDP, SICP ((链接)), and/or CTM ((链接)), and do most of the exercises.”
“I got more out of How to Design Programs than I did from SCIP.”
“Here's a book to get you started (it is fully available online):”
看全部 20 条 →
“Also check out How to Design Programs”
“I guess you are learning on your own, so I would recommend How to Design Programs or (链接).”
“have you tried "how to design programs"? How to Design Programs”
“"How to design programs"[1] might be a good fit for you.”
“Try to work with books which have exercises - such as "Structure and Interpretation of Computer Programs" ((链接)), "Introduction to Theory of Computation" ((链接)) or "How To Design Programs".”
“It teach scheme/racket, and is one of the better books to teach programming that I've seen”
“Krishnamurthi has also done some really great work teaching introductory programming. He and his coauthors wrote a book meant to occupy a similar space as SICP”
“You could try starting with "How to Design Programs" at How to Design Programs (or buy the dead tree version). That book has been very helpful for some people.”
“I think I agree that How to Design Programs might be a better first book. It's certainly easier going”
“Grab yourself a copy of Racket ((链接)) [also, the quickstart guide at (链接) might be useful], the How to Design Programs textbook, and most importantly, set aside some solid blocks of time to dive in.”
“After i learned python i went on to learn scheme,he might like "How to design programs".”
“"How to Design Programs" is a great resource for newcommers and professionals alike. It's a good revision and a good start.”
“I actually prefer HTDP over SICP as an introductory text in computer programming and the Scheme language in particular.”
“"How to Design Programs" is aimed at beginners. I haven't read it, but the people behind it are top quality.”