How to Design Programs, Second Edition——前言笔记

How to Design Programs 第二版

作者 Matthias Felleisen, Robert Bruce Findler, Matthew Flatt, Shriram Krishnamurthi

http://www.ccs.neu.edu/home/matthias/HtDP2e/index.html

Preface 序言

好的专职的程序设计需要系统性的思考,东一榔头西一棒子的乱学效果不太理想。

程序和好的程序之间的差别打个比喻,就像餐厅挂着的蜡笔涂鸦和博物馆收藏的油画之间的差别。

Systematic Program Design 系统性程序设计(6步骤)

  1. From Problem Analysis to Data Definitions 从问题分析到数据定义
  2. Signature, Purpose Statement, Header
  3. Functional Examples
  4. Function Template
  5. Function Definition
  6. Testing

设计程序的时候对应这6步。思路一卡顿,就看一下这6步骤,看看卡在哪一步。第4、5步是最重要的,尽量用自己的语言去概述。

DrRacket and the Teaching Languages

Skills that Transfer

猜你喜欢

转载自blog.csdn.net/seeleday/article/details/80614929