The Computer-Science Bubble Is Bursting
The job of the future might already be past its prime. For years, young people seeking a lucrative career were urged to go all in on computer science. From 2005 to 2023, the number of comp-sci majors in the United States quadrupled.
All of which makes the latest batch of numbers so startling. This year, enrollment grew by only 0.2 percent nationally, and at many programs, it appears to already be in decline, according to interviews with professors and department chairs. At Stanford, widely considered one of the country’s top programs, the number of comp-sci majors has stalled after years of blistering growth. Szymon Rusinkiewicz, the chair of Princeton’s computer-science department, told me that, if current trends hold, the cohort of graduating comp-sci majors at Princeton is set to be 25 percent smaller in two years than it is today. The number of Duke students enrolled in introductory computer-science courses has dropped about 20 percent over the past year.
But if the decline is surprising, the reason for it is fairly straightforwar d: Young people are responding to a grim job outlook for entry-level coders. In recent years, the tech industry has been roiled by layoffs and hiring freezes. The leading culprit for the slowdown is technology itself. Artificial intelligence has proved to be even more valuable as a writer of computer code than as a writer of words. This means it is ideally suited to replacing the very type of person who built it. A recent Pew study found that Americans think software engineers will be most affected by generative AI. Many young people aren’t waiting to find out whether that’s true.
“It’s so counterintuiti ve,” Molly Kinder, a Brookings Institution fellow who studies AI’s effect on the economy, told me. “This was supposed to be the job of the future. The way to stay ahead of technology was to go to college and get coding skills.” But the days of “Learn to code” might be coming to an end. If the numbers are any indication, we might have passed peak computer science.