作者 Matthias Felleisen, Robert Bruce Findler, Matthew Flatt, Shriram Krishnamurthi
http://www.ccs.neu.edu/home/matthias/HtDP2e/index.html
Preface 序言
好的专职的程序设计需要系统性的思考,东一榔头西一棒子的乱学效果不太理想。
程序和好的程序之间的差别打个比喻,就像餐厅挂着的蜡笔涂鸦和博物馆收藏的油画之间的差别。
Systematic Program Design 系统性程序设计(6步骤)
- From Problem Analysis to Data Definitions 从问题分析到数据定义
- Signature, Purpose Statement, Header
- Functional Examples
- Function Template
- Function Definition
- Testing
设计程序的时候对应这6步。思路一卡顿,就看一下这6步骤,看看卡在哪一步。第4、5步是最重要的,尽量用自己的语言去概述。
DrRacket and the Teaching Languages
Skills that Transfer