DEV Community

Usman Hafeez
Usman Hafeez

Posted on Originally published at usmanhafeez147.blogspot.com

What Should a New Computer Science Student Study When AI Can Write Code?

One question comes up again and again from students and parents: is computer science still worth studying now that "AI writes all the code"? I understand the worry. I also think it rests on a misunderstanding of what software engineers are paid for, and of which parts of the job AI has actually made cheaper.

The honest answer is yes, study computer science, but study it with a different emphasis from the one most of us had.

A market that sends mixed signals

Anyone looking for a simple story in the data will be disappointed. In the United States, the number of new computer science and computer engineering graduates roughly tripled over a decade to about 362,000 in 2024, and enrollment has since started to decline [1]. An Associated Press analysis put the jobless rate for recent graduates in these fields at around 7.1 percent, with enrollment in computer and information science down 8.4 percent this spring [2].

The most telling figure concerns junior roles specifically. Between late 2023 and late 2024, postings labelled entry-level software engineer rose by roughly 47 percent, while actual hiring into those roles fell by about 73 percent [3]. Employers kept advertising junior positions and quietly stopped filling most of them.

Yet the degree has not lost its value. NACE projects a starting salary of $81,535 for computer science majors in 2026, nearly 7 percent higher than the previous year, even though overall hiring for the class is expected to stay flat [4]. And some skills are scarcer than ever: AI and machine learning are now tied with cybersecurity as the hardest roles to fill, according to the 2026 State of the CIO survey [5].

Put those numbers side by side and a pattern appears. Companies are paying more for graduates who can operate at a higher level, and less for the routine work that used to fill a junior engineer's first two years.

Where AI has made code cheap, and where it hasn't

I find it useful to think of software work as layers. At the bottom sits translation: turning a clear specification into working code. Above it sit the harder activities. Deciding what should be built. Designing how components fit together. Proving the result is correct and secure. Keeping it running when traffic triples at midnight.

Today's AI tools are remarkably good at the bottom layer and unreliable in the layers above it. Unfortunately for anyone hoping to coast, those upper layers are where mistakes cost real money. Employers have noticed. One IT advisor quoted by CIO.com described the people companies most want as engineers who can stand up agents, build testing frameworks, balance cost against latency and quality, and deploy AI at scale [5]. Not one item on that list is about typing code quickly.

What I would study in your position

Begin with the fundamentals that do not expire: discrete mathematics, probability, linear algebra, algorithms, operating systems, networks and databases. Students sometimes see these as the boring part of the degree. They are precisely what lets you look at AI-generated code and notice that a query will lock a table under load, or that a careless retry loop will knock over a downstream service. As more of your job becomes reviewing machine output, this knowledge becomes your main defence against confident nonsense.

Next, learn AI engineering rather than AI theory alone. Understand how large language models work, then spend most of your energy on building with them: retrieval, tool calling, agent workflows, and above all evaluation. Very few companies need someone to train a frontier model. Almost all of them need someone who can turn an existing model into a product that behaves predictably and stays within budget.

Security deserves a place of its own. It shares the top of the hardest-to-fill list with AI [5], and AI is making the problem worse because attackers use the same tools defenders do. A graduate who can build an AI feature and also explain how it might be abused is unusual, and employers know it.

Cloud and distributed systems belong on the list too. Robert Half's 2026 research found that skills shortages are hitting AI integration, security and software engineering initiatives hardest, with sustained demand for cloud infrastructure and data engineering talent [6]. Every AI product is eventually a distributed system fed by data pipelines, so containers, orchestration, queues, caching and observability will serve you almost anywhere.

I would also pick one track that touches the physical world, such as embedded systems, IoT, robotics or edge computing. AI is leaving the data centre for devices, vehicles and factories, and that work requires people who understand both software and hardware limits. It is also considerably harder to automate than a CRUD application.

Finally, invest in skills that no syllabus lists. Clear writing. The ability to explain a trade-off to someone without a technical background. Genuine knowledge of one industry, whether healthcare, finance, logistics or education. When a machine can produce the code, the person who understands the problem well enough to specify it correctly becomes the most valuable person in the meeting.

Learning differently matters as much as learning different things

Use AI from your first semester, but as a tutor and a sparring partner. Solve important problems yourself first, then compare your answer with the model's and make sure you can explain every difference.

Build systems that real people use, and deploy them. Two projects with monitoring, tests and an honest write-up of what broke will impress a hiring manager far more than ten tutorial clones. Since the junior pipeline has narrowed [3], you need evidence that you can already own a feature from design through to production.

Above all, develop the habit of asking how you know something is correct. In a world where producing an answer costs nothing, the ability to verify it is what employers will pay for.

The bar has moved, not disappeared

Computer science is not becoming obsolete. The entry point has moved up a level, and students who understand that early have a real advantage over those still preparing for the job market of 2019. The path is more demanding than it was. In my experience it is also more interesting.


This article was first published on my blog.

Usman Hafeez is a System Architect and Full-Stack Tech Lead. More of his work: usmanhafeez147.vercel.app

References

[1] Associated Press via CTV News, "As the coding boom fades, computer science grads focus on AI skills in choppy job market", September 2026. https://www.ctvnews.ca/sci-tech/article/as-the-coding-boom-fades-computer-science-grads-focus-on-ai-skills-in-choppy-job-market/

[2] The Korea Times, summary of the Associated Press analysis, September 2026. https://www.koreatimes.co.kr/world/20260925/as-coding-boom-fades-computer-science-grads-focus-on-ai-skills-in-choppy-job-market

[3] Brian Jenney, "The Computer Science Degree Isn't Dead", University at Buffalo Career Design Studio, June 2026. https://careerdesignstudio.buffalo.edu/blog/2026/06/29/the-computer-science-degree-isnt-dead/

[4] Fortune, "Computer science class of 2026 job prospects", on the NACE 2026 Winter Salary Survey, February 2026. https://fortune.com/2026/02/26/computer-science-class-of-2026-graduates-job-prospects-high-salaries-gen-z-career-advice-new-report/

[5] CIO.com, "10 most difficult IT jobs for employers to fill" (2026 State of the CIO survey). https://www.cio.com/article/3279767/10-most-difficult-it-jobs-for-employers-to-fill.html

[6] Robert Half, "The State of US Tech Hiring", 2026. https://www.roberthalf.com/us/en/insights/landing-job/the-state-of-us-tech-hiring

Top comments (0)