I enjoy this sort of "one example, multiple different lenses" style of discussion. It reminds me of this book... Exercises in Programming Style by Cristina Videira Lopes.
I didn't know of this book (have been looking for something like this for a while) and hence thanks for the pointer.