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/ent1pe Jan 12 '24

I see, thank you very much. this was really reassuring

3

u/SexyMuon Jan 12 '24 edited Jan 12 '24

I use LLMs for things like translating a cURL request to axios, for writing a scheme, writing the base of a bash script, and little things along those lines. Essentially, things I don’t wanna do and things that are trivial. Should you use whatever output you get? No, you polish the output until you know it’s safe and not too redundant at least. These things are powerful indeed, but we shouldn’t be worried. Finally, you’ll be fine and welcome to cs.

6

u/istarian Jan 12 '24

The only reason you can do things like that at all is that there is a massive pool of code and programs that a real human programmer wrote.

Your LLM has been trained by feeding it that pre-existing work. Then it is able to generate plausible code to solve the same problems.


It's kind of like training construction workers to build a house that will be earthquake resistant (based on a plan that architects and civil engineers design and checked) and then sending them out to build new and different houses.

Hopefully the other homes they build will be earthquake resistant by virtue of incorporating similar design elements despite the fact that they do not understand complex math or physics.

1

u/Proper_Guarantee_650 Jul 29 '24

Yeah but a LLM can store and access all that data at once.

LLM can read an API it’s never seen and learn it on the spot then spit out code a few seconds later. Then if I don’t like it, I can say what I don’t like about the code, tell the AI to change it so that this particular issue that I pointed out no longer happens anymore, and it will usually do that.

Humans can’t do that within seconds.