In-class code perfection