Teaching as principled practice