The Art of Computational Science
http://www.artcompsci.org/An online `socratic book' pedagogically describing the building of a N-body simulation code for stellar systems. Software (in Ruby) is included.
Submitted in section: Astronomy: Software: Computational Astrophysics: The Art of Computational Science