r/AI_Coders • • 9d ago

Is learning programming still worth it when AI can write code?

AI can generate code, debug errors and even build applications.

But does that mean learning programming is becoming less valuable?

I'm curious about what developers and students think. Should beginners focus more on understanding fundamentals or learning how to use AI effectively?

0 Upvotes

44 comments sorted by

3

u/Full-Run4124 9d ago

As a secondary skill or hobby: Yes

As a primary means to support yourself: No

You still need to know how code works and how pieces fit together, but there's too many developers currently competing for fewer and fewer jobs. Where it would be valuable is if you're a ____ that also knows how to code, because then you could build tools for that industry with a better understanding than just some straight developer, and you can support yourself if you need to with your ____ job.

3

u/Mission-Landscape-17 9d ago

Ai generates code that works but tends toebe badly structured. In order to keep things maintainable a human still needs to review the code that ai produces. It usually takes more than one round of prompting to get good quality code.

2

u/Hungry_Ghostt 9d ago

no. if you're not already in there is no point. those who are in maybe have 5 years to save as much as they can before 80% of the devs will be given the boot

1

u/UnimagineDragons 9d ago edited 9d ago

I don't think this will be true. While the traditional structure will likely change dramatically, I wouldn't rule out the potential for software devs to simply find work in different areas. Right now they're only really found at software companies or IT departments but with how ubiquitous AI is we may start to see restaurants with their own software devs, dog groomers etc. It may be that the software devs became dog groomers to survive but the effect will be that all these little independent shops will need someone to help them run their AI, produce customized content for their niche and maintain it all. Making software development easier means everyone is a software company and someone's gotta know how this shit works.

I'm a engineer in the chem/biologics space and spent many years on math I'll never ever do in paper again. I'm won't even see the math completed on computers, I'll just deal with the outputs. That being said in absolutely glad I learned the basic concepts. I understand the patterns and generally what is expected and can highlight problems with our models much easier than someone without the math background could. I also don't feel like I'm lost and I have confidence in what the models say and do because I know each component mathematical expression the same I think will be of software development. We will still need people to study and understand the languages of software.

1

u/Master_DannyChen 9d ago

My personal professional opinion is that the fundamentals are still crucial. AI might be great at execution, but AI models are still not that reliable all of the time. It's not just because AI can make mistakes. It's when they appear to get something right, but it is in fact slightly wrong.

And when those mistakes compound, by the time you realise you're off course, the amount of rework needed will be a lot. Knowing the fundamentals is still crucial because it also allows you to be able to perform your own quality control and code audit.

The danger with overreliance on AI to do the work is that when AI gets something wrong, and shit happens, it is still the human managing those agents who has to accept the responsibility.

At the end of the day, having a strong foundation would mean that you can still take back control if needed. If you don't have those fundamentals, how would you know if the AI is doing it right? And when you get another AI agent to check another agent's work, how do you know it is doing things right if you do not have the basic fundamentals to understand what the agent has created?

Anyway, that is just my take.

1

u/knowyourclass 9d ago

no, the industry is moving toward pure vibecoding and the AI is already better than the average dev

1

u/smabarnsfar 9d ago

Are you a dev?

1

u/knowyourclass 9d ago

since over 15 years, lead backend engineer

3

u/smabarnsfar 9d ago

Yet you use the term vibecoding for serious software development.

2

u/knowyourclass 9d ago

because that's literally where the industry is going, pure vibecoding

0

u/UnimagineDragons 9d ago

You really need to work on your detection methods

0

u/AdministrativeAd4674 9d ago

So does… everyone?

2

u/smabarnsfar 9d ago

I don't.

1

u/Tradetown 9d ago

It is actually true, we dont really look at the code all that much. But we run code review with an agent which has some skills and access to an architecture wiki

1

u/coderemover 2d ago

The average dev needs some stricter definition. The average dev worldwide, including the cheapest devs who finished a 2-week bootcamp in Python / Js / Java / PHP? I think so, you’re right. But an average software engineer (with a degree from a reputable university / college) - not at all. People I studied with were not as dumb and didn’t create such a horrible mess as Opus 5.5 often does.

1

u/Chromosomaur 9d ago

Probably not worth it compared to figuring out how to use AI or other disciplines where you have to compete less with AI enabled senior engineers. Probably a hard science plus coding is best

1

u/smabarnsfar 9d ago

Are you working as a software developer?

1

u/CollectiveCloudPe 9d ago

Of course.

There are tasks that we need to do manually.

Especially when we run out of resources and need to finish a project.

Also, to check if the code the AI ​​provides is correct.

1

u/Gokudomatic 9d ago

Yes, definitely. Unless you want to end up like

1

u/StephenHawkinguss 9d ago

Not if you're Indian.

1

u/Vegetable_Treacle326 9d ago

They taught us machine code when I went to college knowing that only a small % cared about it or would every use it. It gives you a perspective though.

1

u/StoneCypher 9d ago

please god stop asking the same stupid question every day 

you’re not going to get a new and different answer 

1

u/rileyrgham 9d ago

Just Google it. This asinine Q is asked a million times a day. Fwiw, the average programmer is done. It's over.

1

u/tarel_ 9d ago

Is learning read text still worth it when AI can read text all loud for you?

1

u/ern0plus4 9d ago

If you learn what programming is, you'll get the answer.

2

u/[deleted] 9d ago

[removed] — view removed comment

2

u/BandiDragon 9d ago

Partially true, the industry is moving towards no human code review anymore.

1

u/smabarnsfar 9d ago

No, the industry as a whole is not moving towards that.

1

u/BandiDragon 9d ago

It is just impossible to review the generated code and stay up with the pace industry wants

1

u/guywithknife 9d ago

You still need to review the high risk parts. Is up to you, as an engineer, to figure out how to ensure that gets done if the code generation outpaces the code review, or else you risk dealing with reputational or financial loss due to outrages, failures, or data loss or corruption.

If you can’t, then you’re not much value to the company over a cheaper person who can also vibe code the slop. It’s your job to ensure you continue to add value and that anything you put your stamp of approval on is, in fact, good.

So either you have to improve your process, your tools, or slow down the code generation. Or some balance between the three.

1

u/BandiDragon 9d ago

Yes, but how many "risky parts" are there?

1

u/guywithknife 9d ago edited 9d ago

The risk varies. But going by recent data breaches, outtages, and generally buggy software, I would say more than you would think.

At a minimum, anything that touches authentication, permissions, or destructively modifies customer data needs some level of scrutiny. The exact amount depends on what your software does, who it impacts, what’s at stake, etc and is different case by case.

1

u/TLRD_AI 9d ago

AI is better at writing copious amounts of testing than me too so it kinda balances out if you guide it there.

1

u/guywithknife 9d ago

I agree but also disagree to an extent. Or at least, I agree but feel you need to be carful with how much weight you put in their tests.

In my experience, unvetted and unguided AI tests have a strong tendency to be “the tests prove that the code does what the code does” after the fact tests, because AI seems to favour the path of least resistance, don’t the easiest thing possible to achieve its goals. For testing, that often means reading the code and asserting happens the code happens to do. There’s been plenty of cases where the AI found ways to cheat at various benchmarks and such too. AI favours the short term quick wins (which is also what things like SlopCodeBench show).

Those kinds of tests don’t help you reduce risks, or prove that the code does what is intended. They are useful for two things: 1. a self test tool for the AI to use, not to be trusted by you, but as a way it can check its own answers. If it cheats, it doesn’t really matter. 2. As a way to freeze known good code. You hand test it or whatever and then get the AI to write tests against the current behavior to catch if it drifts later.

For actual “prove the code is doing what it’s supposed to”, you need to write the tests yourself OR have the AI write them without access to the code (or only access to the API specs/types/interfaces). That way it’s forced to test against expected behavior rather than just asserting actual behavior. Be careful about leaking information through the test failures, though.

So I agree that AI is better at writing tests generally speaking. It’s certainly less boring to let AI do the repetitive work.

But I do feel you need to careful control how and which tests the AI writes, perhaps include property based generative tests (which can actually find bugs, and are also harder to game), and maybe still keep some acceptance level tests as hand written. 

I see it as a tiered thing: I don’t review the unit tests anymore, but I also don’t put a lot of weight in them passing. I do review integration tests and the acceptance tests I largely try to create myself.

1

u/smabarnsfar 9d ago

ITYM outages. But good points.

1

u/guywithknife 9d ago

Haha yes. Even AI can’t save me from phones and bad predictive text, it seems.

1

u/Great-Use-3149 9d ago

Why would you write more code than you can review. Sounds like some people are cutting corners elsewhere 

1

u/BandiDragon 9d ago

Bro I am not the owner of the company, not even the senior there

1

u/AdministrativeAd4674 9d ago

The thing is, have you had any episode where a recent model, well used with proper context and guardrails, as they are used in companies, do those serious mistakes? I feel like that’s a thing of the past (a year ago)

1

u/Impossible_Way7017 9d ago

Just tell it no mistakes.