Not long ago, students were told “learn to code”—and that three-word phrase summed up the dominant worldview.