![]() |
![]() |
|
home—info—lectures—exams—hws—archive
How to Design Programs is aimed at the beginner. It uses Scheme, although really it is teaching a fundamental design methodology which is helpful. (I worked through this book after finishing my Ph.D. in computer science, and it transformed my idea of good programming.)
Note: Although the book talks about adding the “draw.ss” teachpack, for this class we'll instead use the “world.ss” teachpack. (If you try to add both, you'll get an error about multiply-defined names.)
Differences in dialects:
old-school2 | DrScheme |
---|---|
car | first |
cdr | rest |
null, nil | empty |
null? | empty? |
nil | false, #f |
t | true, #t |
1That is, if the caret is actually in the name; merely hovering the mouse over the name won't work. ↩
2Some of these are older Scheme names which have been improved; most are also Common Lisp names which just aren't quite idiomatic for Scheme. ↩
home—info—lectures—exams—hws—archive
©2009, Ian Barland, Radford University Last modified 2009.Feb.20 (Fri) |
Please mail any suggestions (incl. typos, broken links) to ibarland ![]() |
![]() |