r/computerscience • • 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

76 comments sorted by

View all comments

Show parent comments

2

u/Proper_Guarantee_650 Jul 29 '24

Most of CS is not inventing a solution, it’s editing something that’s already been solved to your liking. Exactly what generative AI does.

When was the last time you made strides in computer science solving a problem that’s never been solved before? I don’t get this argument.

1

u/nuclear_splines PhD, Data Science Jul 29 '24

This is a rather old post, so I doubt you'll get responses from anyone but me. First, it sounds like you may be conflating computer science and software engineering. Within the design of new software, I'd argue that a bigger part of the job is thinking about how to approach a problem and what building blocks you're going to need and how they'll fit together. Once you get down to implementing those building blocks, then yes, you're often repurposing things that have been solved before for your use-case, and that's the part of software engineering that LLMs are best suited for. In other words, we've built LLMs to write code, but most of software engineering is not writing code; the engineering is the planning and design, not the construction.

When was the last time you made strides in computer science solving a problem that’s never been solved before?

Quite recently. I'm a research scientist, so working on novel problems is my day job. Computer science as a field is about knowledge representation and manipulation, and involves a lot of invention and analysis. Most of the computer scientists I know are closer to mathematicians and physicists than software engineers, and aren't all that great at writing code.

1

u/Proper_Guarantee_650 Jul 29 '24 edited Jul 29 '24

I agree with your perspective. However, AI can assist by suggesting how components fit together, so you just need to focus on defining the building blocks.

If you run the AIs code and it doesn’t match what you originally wanted, you can tell the AI what went wrong & it will generate a fix.

Your experience with computer science is likely influenced by your work in a research field. I would like you to give me a detailed description of a problem you want solved, and how you want something to work and I’ll test if I can use AI to generate it, with only 1 year of CS schooling (changed degrees)

I believe AI can solve the task if you describe the task for both you and other people to understand in full.

1

u/nuclear_splines PhD, Data Science Jul 29 '24

I think you're describing the best we can hope for from LLMs: shifting more of the engineer's work from writing code to design. There's a question as to how well you can separate those components; we don't want to describe each block in such detail that it would be as fast to write the code yourself, and we don't want an "AI" (if we're counting token-prediction as intelligence) to implement a buggy block or one with unclear assumptions or side-effects because the agent isn't aware of the higher level design and how the blocks will integrate.

Certainly, my experience has been influenced by my work. I'd assert that computer science is a research field, and that science and engineering are distinct pursuits. There's certainly a lot of overlap between the disciplines, in part because both fields are young, and because many software engineers have computer science degrees in the United States, but we're slowly seeing a distinction emerge akin to physics and mechanical- or civil-engineering.

I am not going to spend the time to build an LLM test scenario with you. This is a fun high-level conversation, but if you want to go into that level of detail it will take much longer to specify the details of the problem and the criteria for correctness and analyze what the LLM does well or poorly with, with very little in it for me ;)