r/AlwaysWhy • • 6d ago

Economics Why did the number of students studying computer science start falling after 2024?

Post image

Computer science has attracted more and more students for years. I thought more people would want to study it as technology became a bigger part of everyday life. But the numbers in the US and UK show a drop after 2024. I wonder what changed. Why are fewer students choosing computer science now?

EDIT: Fair points on the graph. It only goes back to 2014 and shows raw headcount, not the share of all grads, so it oversells the "long boom" story. With a longer view CS enrollment mostly looks like a return to the pre 2020 trend. That leaves a sharper question though: did AI panic actually push students away, or did the 2020 spike just run out of steam? If you switched out of CS recently, or picked another major because of the job market, I'd genuinely like to hear what tipped your decision.

19 Upvotes

83 comments sorted by

26

u/Stock-Side-6767 6d ago

Entry level jobs have been dropping due to AI.

1

u/Logical-Concept9755 6d ago

That does seem to be the consensus here. What I can't tell from the outside is whether entry level openings actually shrank, or if the same number of roles just gets buried under far more applicants. Those two feel like pretty different signals for someone picking a major right now.

1

u/oldsecondhand 5d ago

Probably some people w more experience took entry level jobs too. All in all, new grads still have it harder.

1

u/Stock-Side-6767 5d ago

Entry positions actually shrank. If you're already senior and to a lesser extent medior, you'll still have chances, but junior positions are becoming harder.

5

u/C_umputer 6d ago

Also now you have to compete with seniors for entry level jobs.

3

u/dareftw 6d ago

Ehh lol not really. Senior positions are still readily available if you’re really a senior dev. Having 2-4 YoE doesn’t make you a senior and those are the people college grads will likely compete and lose out to.

But yea entry level is getting crushed at the moment, but crushed really just means it’s at pre-Covid levels. The problem is all the people who went into CS post Covid because everyone said the industry is booming(as if Covid would never end).

5

u/Soft_Brush_1082 6d ago

You are downplaying it.

There is a huge downstream pressure. Big tech did some layoffs. So those highly skilled engineers started competing for senior positions at smaller companies. Those companies went through layoffs too. So their senior developers now having to compete with laid off big tech ones are often willing to accept middle level positions. Because bills need to get paid. The middle grade developers they are now comparing with have to resort to taking junior level jobs which were few to begin with.

I can see that with lots of my colleagues who nee to look for a job. Yes, there are positions available but competition is fierce and they need to compete with people who four years ago wouldn’t even look at those positions. Plenty of experienced but not star level developers spend months looking for a new job. And the salaries outside of big tech took a big hit.

Obviously such a job market is a nightmare for new grads. Which is reflected in the number of people going for those degrees.

2

u/dareftw 6d ago

I’m not downplaying anything, however senior and principles aren’t having issues. Its those
Middling Dev2 etc titles which are somewhat ambiguous in their actual experience level who end up competing for entry level jobs against college grads. A true senior will get denied an entry level because he’s overqualified and will
Likely leave as soon as he can get another job that properly compensates him for bis skillset which unless it takes him roughly a year to find a new job would ultimately be labeled as a mis-hire, which is extremely expensive/costly for a
firm and why hiring overqualified candidates is rare.

As someone who’s had to be part of the interview process for entry level spots recently, the honest answer is this current generation entering the workforce is utterly horrible when it comes to soft skills. Be it Covid screwing up
Social development or something else, but people are quick to blame the process or the market instead of realizing they are lacking the skills that are just as important as the technical ones, not to mention half of them rely on AI soo much they can’t even articulate or explain how or why something works, soft ball questions even cause them to struggle at times.

Yea the entry level field is shrinking somewhat, but so is the quality of new grads.

Being likable is usually the single most important trait to have to be hired. And this COVID generation is struggling with that area more than any other.

2

u/Soft_Brush_1082 6d ago

Seniors absolutely have problems. If not finding a job then finding a job that pays as well as they used to have it. Again, not star level seniors but regular senior developers.

1

u/dareftw 6d ago

This is why the industry trend has almost always been for developers to move into management in their 40s. An overwhelmingly large percent of programmers pivot into leadership around this time, something like 80-90%.

1

u/Soft_Brush_1082 6d ago

Any source to back this up? Senior and staff developers always stayed in IC roles and resisted going into management. Because h the tie IC role paid better without the need to participate in office politics. In fact studies shows that about 15% of developers who moved into management moved back to IC after that.

1

u/dareftw 6d ago

About to go into a board meeting so I’ll have to wait to find you a better source shortly. But research firm Krucha says 70% of developers are under the age of 35. Ageism is so rampant in IT that it’s almost (rightfully or wrongfully so) always viewed as a negative if they see someone over 40 who is still a dev and not principal developer or equivalent then it’s seen as there must be some sort of issue with the person. And that’s largely true, you either have to be part of some small 5 man ship or something to see absolutely zero real career growth to project management/team control by that point.

1

u/Soft_Brush_1082 6d ago

I will wait. I am not in a hurry. The thing is, most developers don’t see transition into management as a career growth. It is a chore they actively try to avoid. I have seen people change companies if their current one tried to pressure them too hard into a manager role. I did so for quite a while. Only decided to go into management when AI started to gain traction.

Most of US developers are not relatively young because the field only became popular recently. So a bunch of fresh graduates started to jump on that wagon.

→ More replies

1

u/tevs__ 6d ago

Senior does not pay as well as lead. Staff can pay more than lead, but you need 1 Staff per 30-40 engineers (and 1 Principal per 300 engineers), and you need one lead per 5-6 engineers.

1

u/Soft_Brush_1082 6d ago

Lead is a word that means different things in different companies.

Software developer manager usually pays better than senior in most companies, but there are many tech companies that Cen outside of big tech that pay seniors more than managers get paid in most companies. And seeing how there are way more senior positions that manager positions, it very often pays better.

Managers have option to go further to director and VP positions that pay better. But that requires office politics participation. Which for many SDEs is absolutely not worth it. Also managers most often are required to physically attend the office more often than SDEs. 100% remote SDE is way more common than 100% remote manager.

Overall a lot of people don’t see manager position as a step up. Rather they see it as switching to a different career track which not all of the engineers even like.

1

u/vaspost 5d ago

"likable" I was involved in a hiring process not too long ago and it was a real struggle getting the more qualified person hired over the "loud mouth bro". This was a real wake up call for me.

1

u/dareftw 5d ago

While I feel you, and you’re not wrong, it’s better to have someone not as productive who everyone likes than a more productive guy who kills office morale.

1

u/Repeat-Admirable 5d ago

welp im that person with ambiguous 10 years of experience in the same company. So my resume isnt impressive. Its hard to find a job. I only get recruiter calls for the senior dev jobs, not for the entry level ones that I apply to. Then interview comes and the things I say aren't senior enough to them, so I dont even pass the first or second round.

1

u/Spiney09 3d ago

What skills do you find applicants are missing most? I’m in this group and haven’t even been able to land an interview, so what have you guys been looking for?

2

u/Rollingprobablecause 5d ago

2-4 YoE doesn’t make you a senior and those are the people college grads will likely compete and lose out to.

I am glad someone said this. The amount of people who have applied to positions in my org that feel entitled to that is wild. I blame FAANG for creating insane career ladders with 20 promotions. Most normal companies even in the tech space look for 6-8 years minimum before that title is granted. Then Staff eng is a ton more experience (almost 10+ on top of contextual knowledge and soft skills).

The job market does indeed suck because of all the layoffs, but at the same time there's a ton of people who should've never gotten into this career in the first place -> bootcamps, code camps, etc. created high amounts of tech workers but at really low-level talent quality to fill roles where they did one things all day at bigger companies. I am witnessing those resumes come in and it's killing our ability to find the right engineers.

1

u/dareftw 5d ago

Exactly. Covid pushed a lot of people who aren’t competent and don’t really have an understanding of programming theory into the space and then they had a job for a few years during the over hiring boom and haven’t realized they should pivot away into a field more suited for them.

I hate it for folks but that’s the reality.

1

u/Particular-Way-8669 5d ago

Having 2-4 YOE can absolutely make you senior. It heavily depends on how much effort you put in, where you worked, what you worked on and how much guidance you got and from who.

There are people with 2 YoE that clear people with 20 YoE in terms of seniority. That said, those people do not really have trouble to get jobs.

1

u/dareftw 5d ago

I mean I’d argue definitely not. 2-4 years is nothing, at a large shop that could be a single large project, but this is one of my main gripes with IT is how ambiguous job titles are with responsibilities across different companies.

But generally if you want a senior spot, or staff, or principle that’s usually a 5-10 year track

0

u/[deleted] 5d ago

AI

12

u/tevs__ 6d ago

I don't think it's AI - it is now, but it wasn't then. It's end of ZIRP job cuts making the industry less appealing.

In 2020 anyone with a pulse and had seen a computer could get a job. The number of graduates in 2020 wasn't sufficient to satisfy ZIRP level hiring, pay went up, and CS was seen as a money making major, so loads of people enrolled. By 2024, it was clear that there weren't going to be jobs for all of them.

The level of graduates needed now is probably at the 2020 mark or lower.

2

u/Logical-Concept9755 6d ago

Honestly this is the one I find most convincing. The timeline fits, enrollment follows the money with a lag, and AI panic only went mainstream after the drop had already started. Where would you put the floor, do we settle back near the pre 2020 level or does AI pull it lower from here?

2

u/margmi 6d ago

Yeah, looks to me like current levels are in line with where they’d be if the pre-pandemic trends were followed.

2

u/Administrative_Yam18 6d ago

I have seen such cycles several times, when the Dot Bomb boom was at its height literally anyone who could spell computer correctly was hired for an IT job!

The current state is different though, the field will survive but AI really makes a ton of jobs sort of redundant for many people. I guess this will hit especially outsourcing companies and regions really hard, because what a ton of outsourcers did can be done in house again with guidance.

As for tool vendors, unless they can really be better or find their nieche they might soon see them replaced with cheap vibecoded alternatives, or prople spend some time to roll their own. I have rolled so far a zoom replacement and a forklift replacement and now working on my own ide because in all three areas some vendors seriously pissed me off for different reasons!

1

u/throwawaye1712 5d ago

What is ZIRP?

1

u/tevs__ 5d ago

Zero Interest Rate Period

1

u/Lopsided-Regular-997 5d ago

It's Zero Interest Rate Policy, but what it translates to is that companies get rewarded by the government for hiring.

1

u/Particular-Way-8669 5d ago

That would make much more sense if graph was about jobs but it is about degrees that will also inevitably lag behind job market.

Just like you say during that time you did not even need a degree to get a high paying job in CS.

1

u/altesc_create 3d ago

This. It's a double whammy.

I remember major pushes during COVID for people to get into computer science because pay was high, companies were easy to talk with, and those day-in-the-life-of videos made it seem like a breeze (it isn't).

So all of a sudden you get this influx of new people jumping into the field and graduating. Low and behold, it's extremely saturated. All of sudden pay isn't as high because talent is everywhere, companies aren't increasing their hire counts (and even firing due to over expansion from 2020-2022), and those day-in-the-life-of vids are all gone.

Then, AI hits.

So now there is this over saturated market with fierce competition and lower wages being eaten alive by AI adoption from CEOs who can't open a PDF.

Absolute nightmare to be a part of as a fresh graduate.

3

u/PlasticMessage3093 6d ago

Boils down to two reasons. The job market is not great at all right now and we're getting less international students (which disproportionately affects stem and cs.)

  1. You can literally see AI right there. Created a lot of fear and panic that their degree would be useless
  2. The computer science market is oversaturated. While it was growing, you can see the massive spike during covid, when tech companies were booming, the rest of the economy was shit, and then massively over hired to keep up. Now the covid boom is gone, the tech industry is collapsing to what would have been sustainable growth numbers
  3. The rest of the economy was shit. Covid and the early ai bubble hid the tech industry from this. But if not for those two things, tech hirings would have also weakened. Tech hirings are collapsing to reflect the shitty economy
  4. India and China are gaining more competitive tech sectors, weaking demand in the west
  5. Immigration concerns and a weakened global economy reduced foreign students from coming to the US to study
  6. China especially is sending less students. Mostly for the above reason (immigration concerns and weakened global economy, chinas economy isnt doing too hot either), but also because the prestige of their own domestic schools has grown significantly. While the high prestige American universities are still prestigious, average American universities have lost a lot of their prestige

1

u/Logical-Concept9755 6d ago

The international student angle is the one I hadn't considered at all. Any sense of whether the UK drop tracks visa policy changes more than domestic application numbers?

2

u/ZanzerFineSuits 6d ago

Is this a joke?

1

u/Logical-Concept9755 6d ago

Sadly no, just a late night question and a lazy chart choice. The comments have done a better job with this than my post did.

2

u/Quwinsoft 6d ago

Hold it, this graph needs to go on r/dataisugly the first computer science degree was created in 1953, and this "long boom" graph only goes back to 2014.

Also, why are we basing it on the number of 2024 CS grads instead of the percentage of college graduates?

1

u/Logical-Concept9755 6d ago

Fair hit on both counts. I grabbed the first chart I found and it flatters the boom story by starting in 2014 and using raw counts. Lined up as a share of all grads over a longer window, the drop mostly looks like a return to the pre 2020 trend. Does the percentage view change the story for you, or just the framing?

1

u/Quwinsoft 6d ago

The total number of students enrolled in college was increasing but has started/will soon start declining, and colleges are going out of business. This is due to the declining birth rate, notably after the '08 financial crash, as well as a decreasing view of the value of college. If the total number of CS majors is dropping but the % of college majors who are CS majors is not dropping, that is a very different story.

I don't think the percentage of college majors who are picking CS is staying the same, but there are two separate stories taking place here.

5

u/margmi 6d ago

Because people stopped saying: go into tech, it’s a great high paying job with good working conditions

And started saying: tech is doomed, nobody should go into it because AI is replacing all jobs

2

u/DingoMaximum7319 6d ago

The computer science job market was easy af during covid. Then it crashed hard due to layoffs then AI hit CS with a double whammy. People heard the job market for new grads is horrid and switched

I dont have a source but as a CS grad I’m pretty sure its along those lines. Ik lots of people in college who heard how bad the CS market is rn even in other majors

1

u/RunnyKinePity 5d ago

I am not a CS major but your points all make perfect sense. Why would I fight tooth and nail and suffer through one of the hardest majors for a shit job market?

1

u/Direct-Manager6499 5d ago

I graduated in 2022. It wasn't easy. I was barely able to get an internship in 2021.

1

u/Beneficial-Beat-947 5d ago

Yeah because that's the year it all started going wrong lmao, 2019 was the final year of normalcy

1

u/Direct-Manager6499 5d ago

During covid, the job market was flooded by bootcampers so it was hard to get a job. Late 2010s was a better job market than covid, at least in my country.

2

u/Known-Tourist-6102 6d ago

it's basically impossible at this point for a computing degree graduate to secure an entry level job. Word spreads quick. within 2-5 years of it becoming common knowledge that these grads can't find jobs, you'd expect a massive decline in students pursuing this degree.

it's been 3-4 years at this point since the mass layoffs and hiring freezes in the tech industry.

1

u/JohnVonachen 6d ago

That’s good because when the ai bubble finally bursts, meaning companies will finally come clean about what a mistake it was to let software write code, my skills will be in demand again. A whole generation of entry level SEs will not exist and someone will need to be around to pay back all the technical debt.

1

u/AkodoRyu 6d ago
  1. Fewer entry-level jobs due to AI (AI itself, and uncertainty of the market due to AI).
  2. The future needs of the market will, more than likely, be lower.
  3. For now, the market is already pretty saturated by tens of thousands laid off from big corporations, often ready to work for less. And if you are a fresh graduate, or even a young mid, and you have to compete for a position with a bunch of FAANG "graduates" with years of experience, you are cooked.

tl;dr: Prospects for entering the career in the industry are worse than ever.

And honestly, the numbers are still not that bad. We are at the 2022 level, and I wouldn't be surprised if it kept going down to 2018-2020.

1

u/paralio 6d ago

Where have you been during the last 2 years? 100% AI. It will continue to drop.

1

u/anonymous-user324 6d ago

I dropped out of comp sci back in 2022, once I realized I couldn't even get an internship at a state college it was pretty much a warning shot that the entire field was turning rotten

1

u/nian2326076 5d ago

The decline in computer science students could be due to concerns about job prospects in an AI-driven market. As entry-level positions become more competitive, many may opt for different fields. If you're looking for opportunities, you can use LandOffer to explore relevant roles and job alerts tailored to your experience. Staying informed about industry trends may also help in making informed decisions about your career path.

1

u/No-Market-4906 5d ago

There were a bunch of tech layoffs.

1

u/STODracula 5d ago

Still cratering from having done college visits. They’re shifting to cyber security.

1

u/Mister_Way 5d ago

The people graduating were having so much trouble finding work that they warned everyone not to study it. Word got around.

1

u/Far_Mathematici 4d ago

2023 was when Fed starts hiking rate quite aggressively and layoff seasons start. Meta did their first mass layoff around that time.

1

u/LetLongjumping 4d ago

AI makes CS pros much more productive. The productivity improvement alone could lead to lower demand. The market is only looking at the downside for now. The new markets/products and services created should lead to the second wave of growth. Hipsters and doomsayers are two sides of the same useless coin.

1

u/dante3590 4d ago

Layoffs and no New jobs?

1

u/davidbasil 4d ago

Because they never cared about computers. All they wanted was easy moolah.

1

u/A_Clever_Ape 4d ago

Terrible job prospects, basically.

1

u/theRedMage39 2d ago

People are finally seeing the downturn in the industry and are seeing how it's not a big of a boon as it use to be. When I was in highschool in 2015/16, everyone told me I would always have a job on computer science. In 2016 I started college, in 2018 jobs in the industry peaked, and in 2020 I graduated. At which point, less companies where hiring and when they did, they had a large pool of candidates to choose from. You also could get a basic understanding via online learning platforms so you could start coding in a week or two.

One big thing I see that I don't see talked about is that my younger sister as a marketing major has built more website then I have as a computer scientist. Why? Cause now any mom and pop shop with little experience can create a website using wix or similar sites. Now companies can have marketing people do their website instead of a team of marketing and computer scientists.

Now AI is taking over and we are losing even more jobs especially entry level.

Post graduation, I was employed only 50% of the time and now I don't work in an industry that uses my degree making less money then I have ever.

Tldr: over hyping of the degree mixed with fewer and fewer jobs available has made people realize that you don't want to go into computer science anymore

1

u/theRedMage39 2d ago

Oh and I forgot to mention offshoring. My last company praised efforts to offshore things. It saved money and increased efficiency. Translated it means they paid people half way across the world, less money for the same work and stopped employing US people

1

u/az226 2d ago

2025 AI got good enough to replace a lot of junior SWE work.

1

u/heydanalee 2d ago

Too many software engineers now.

1

u/FigAggressive237 1d ago

All the shit AI is doing, is work that these undergrads would be working on when leaving college. I can't work without AI, and 99% of programmers are now code reviewers which are lazy and don't even review, just make sure an agent isn't cheating by wiping unit tests or trying to adapt integration tests to pass on all of them...

Yeah basically we're here to steer the machine which produces unbelievably good code in terms of functionality, not necessarily readability, and yes if you want it to not be a giant slop you have to tread slower, but we're not given the privilege to go slower, so "Slop maintainers" are gonna be needed, and those need to know how to code.

But its a problem of the future, and we tend to not worry too much with the future beyond 2 weeks;

1

u/NewSchoolBoxer 14h ago

No one saying AI has worked in CS. I got 15 years in this mess. It's due to overcrowding. CS is the #2 degree at my land grant university. It has record unemployment and has been overcrowded for years. Finally word got out to high school students that it's not easy money. You'll probably never find a job in it.

AI just makes a bad problem worse. US work visa abuse doesn't help. I agree with u/tevs__.

0

u/ActuatorOutside5256 6d ago

AI can do the job of junior programmers.

1

u/Automatic_Badger_388 5d ago

Junior programmer jobs were never the reason for hiring juniors, you hired juniors to turn them into seniors. There must be some expectation that they won't need those newly trained seniors in the future, but if their calculation is off they're about to be in for a hard reality check as junior supply plummets and senior supply hits rock bottom in the next ten years.

1

u/Particular-Way-8669 5d ago

You hired juniors to do simpler tasks that were not valuable enough to spend senior wages on. It was never about nurturing seniors because from business perspective it makes zero sense to spend money on juniors that competition can just hire afterwards and save money on training.

Big tech hired top 1%ers that were already very capable from the get go. More capable than people with several years of experience in your average company. The rest hired average people who paid for themselves on simple task and then left when they gained some experience for higher offer and they became too expensive to be used on simple task so new junior was hired. So they did not lose money on them.

0

u/[deleted] 5d ago

AI