Last Monday, the faculty of Princeton University, where I teach, voted to reinstitute the proctoring of exams after more than 130 years of reliance on an honor code to prevent cheating. The move was inevitable. Between handheld electronic devices, artificial intelligence, and ever greater (if largely self-imposed) pressure on undergraduates to get high grades, the honor code simply could not function effectively anymore.