Thought it might be useful having my chunk documented somewhere on my blog so that I can keep in mind what I am going to be doing:
CHUNK 61
TITLE Classes 2
DESCRIPTION This part of the book should introduce the code behind a class; this will require teaching of the highest order. This is a repeat of the previous chunk. Classes are so dificult to understand so we have decided to repeat the teaching
OUTCOME
Be able to understand the code of a simple class programmed in no more than 30 lines of code
REFERENCE Greenberg 304
HINT Try and describe a class that implements some simple graphics. Do enough teaching on constructors to get you throuugh but do not go to town on this: there will be more teaching on constructors later. Make the arguments lists a little more complicated than the previous chunk of the book, say three arguments maximum.
PROGRAM Difficult task: try and develop a class that is a little more complicated than the one that you describe and make it do something really visual.
Sunday, 14 December 2008
Have not made much progress at all so far due to pressure of work. I have read up to Ch3 and just starting Ch4. I am hoping for to get some time put by over Christmas to get some more reading done and will try and write my chunk in January when I am skint and have nothing to do with the cold evenings.
Subscribe to:
Posts (Atom)