Learning from Teaching: A Developmental Perspective