I work as a teacher now, and this school year I'm teaching basic C to
youngsters (age ~16). My current skills are more than enough to cope with
toy programs and exercises, but I'm taking the chance to improve my
knowledge of more advanced C programming techniques (but still
general-purpose), so any good corpus of code will do. Using Lua source for
the task has the added advantage of improving my knowledge of my favourite
language (which is not C ;-)
Dunno about the syllabus and its goal, but I today I would teach
javascript to youngsters, so they can put it immediatly to use and
show with some intelligently enriched websides. When I had coding
classes in the 90ies already felt like, guys why are we doing
stdin/stdout console stuff when the contemporary show is window GUIs?