r/computerscience • u/ent1pe • Jan 11 '24
Is computer science dying?
I’m a highschool senior that is planning on pursuing computer science in college and as a career. i’m starting to learn more and spending more outside time on watching coding videos and such. But as i’m spending more time in this field, I keep seeing my people saying “coding is dying” or “if you don’t learn ai now you’ll be behind everyone” which is worrying me quite a bit. Is this field really dying or being taken over by ai? Or is there still an incredibly large field that will still demand people for some time to come?
10
Upvotes
31
u/nuclear_splines PhD, Data Science Jan 11 '24 •
No. Generative AI is good at copying text it's seen before, and tweaking it to match a prompt. It's quite good at regurgitating simple boilerplate code that's been written countless times before, like "read a CSV file and get me a particular column."
Generative AI is not creative. It cannot solve novel problems, and it cannot design software, and it fundamentally does not know what it's doing. If we widely adopt generative AI into the workflow of developing software (which seems like it could be likely!) we will still need humans to design the software, break it into building blocks, identify the building blocks that are simple enough for generative AI to solve, and verify the solutions we get back.
Generative AI can't understand if the code it produces works or is bug-free, and definitely can't understand more conceptual tasks like how to design a program, because Large Language Models don't "think." We've produced an incredibly powerful autocomplete, but its role is still to predict the next token based on prior tokens and a context window, and to mistake it for a reasoning consciousness that can "take over" the field would be a mistake.
All of that is just speaking to writing code. As others have pointed out, computer science is much broader than programming, and LLMs are no substitute for human thought.
Now these are very different questions. If we use generative AI to automate writing simpler code, then fewer programmers today can finish the same work that would take more programmers just five years ago. You can't replace a whole human with AI, but maybe a team of eight people plus AI can do the work of ten people without AI. The labor market could shrink considerably, especially for entry-level software engineering.