Saturday, January 24, 2009

Now hear this: templates are now deliverable

On problem set 1, many of you seemed to be unclear about the use of design strategies and templates. So, effective with problem set 2, you will be required to specify both the design strategy and the template for each procedure.

Your template should be delivered in a form like that in the book. For example, if your function consumes a structure, then you should deliver a template like that in Section 6.5 of HtDP ("Designing Functions for Compound Data"). Of course, your template will be the one that goes along with your design strategy, not necessarily the compound data strategy.

Your template must match your stated design strategy, and your code must match your template.

We will be checking to make sure that your solutions meet this criterion.

No comments:

Post a Comment