We have learned about randomness, writing consistent signatures for big-bang, writing high quality tests, and how to limit numerical values.
Randomness
Signatures / Big-Bang
check-with to catch signature errors. (See below.)Testing
Still important enough to mention.
Numerical functions that limit or convert values:
min, max to limit valuesreal->intround, ceiling, floorPeople coordinates
String functions.
substring: both the two and three argument versions.
Example in big-bang is: (check-with posn?).
More in click-circle writeup.
The check-with command is first introduced in Chapter 8, book page 137, PDF page 148.