I am trying to devise methods of teaching programming concepts to senior students. Getting their heads around adding variables containing integers versus adding strings (concatenation) can be quite a challenge. Sometimes you have to resort to balls of string and plastic numbers… literally. A not very good example is given below. I will need to develop concrete examples (or metaphors) for functions, arrays, modules, arrays of arrays etc… Should be fun.
Tim Bell pointed me at Jack Coughs’ web site, he used Dr Seuss Star Belly Sneetch Machine as a way of teaching functions. It was excellent, now I need a bunch more ideas. http://jackcoughonsoftware.blogspot.co.nz/2009/05/teaching-functional-programming-to-kids.html