Let me recommend, however, that you skip exercises that involve draw.ss. If you can, make up alternatives using image.ss or universe.ss (see teachpack docs). — Matthias (via PLT)
CONTENTS
Meta
Let me recommend, however, that you skip exercises that involve draw.ss. If you can, make up alternatives using image.ss or universe.ss (see teachpack docs). — Matthias (via PLT)
http://www.htdp.org/ is going to be down for some amount of time. The servers at Brown which host it are having “issues”.
In problem 9.5.5, I knew I wasn’t understanding something. I thought that I had followed the recipe, yet I couldn’t solve the problem. That alone was a red flag indicating that I most probably did not follow the recipe! In this discussion everyone helped me to see what I was missing. The thing was that [...]
In problem 10.1.9, I wanted to force a problem to be recursive when it really wasn’t. Matthias and Carl helped me see the difference here in the discussion that followed. Here are some notes: Matthias: In HtDP, the word “natural” is a technical word. It means if your INPUT data definition has a self-reference in [...]
Originally posted here: You can check for error messages on your functions by using: (check-error (fun arg1 … argn) “fun: <err message>”) See also: here
Originally posted here: In DrScheme you can comment out code either using semicolons or by using a “box”. The way that it works is that you: 1. Select the code you want to put in a comment box. 2. Go to the Scheme menu and select Comment Out With a Box. You may find this [...]
This post illustrates a interesting point about the language: Functions must take at least one argument In the data-driven world, namely MATH, there is no notion of a definition defining anything other than a translation of something into something else. Interesting.
Studying anything takes both discipline and perseverance. There is just no avoiding it. These are also the same skills you need to practice when you do those things. Work hard!
When you work on your exercises, you can leverage DrScheme to make it easier to find particular functions or bits of homework by using the definitions dropdown. I posted on it here: Here is how I implement exercises. I say implement, because I am concerned here with a coding detail, *not* design recipes. DrScheme has [...]
Originally posted here: Most of us here are already programmers, or want to be. All of us are going to give up time to work through HTDP. It is a sacrifice. How do we know what will happen? Well, we don’t. I think of this first group as being an experiment. We’re going to find [...]