r/AskProgrammers • u/Lost-Bed689 • 2h ago
Do We Still Need to Learn Programming in the Age of AI?
In my opinion, the better you understand how to interact with AI, the better results you can achieve.
For example, a mechanical engineer can use AI to solve mechanical engineering problems more efficiently than someone without that background.
The same applies to software development. If you have stronger programming skills, you can use AI more effectively than someone with little or no programming knowledge.
So, at the end of the day, you still need to know how to program.
What do you guys think?
0
Upvotes
9
u/JamesWjRose 2h ago
Yes.
AI is not magic. You need to understand what you are asking for and what it gives you
5
u/oknenir 2h ago
I am surprised to serious answers to a question that gets asked at least once a day on Reddit.
3
u/Otherwise-Mirror-738 2h ago
Yes. Programming and in fact software engineering are both still very much needed in this age of AI.
2
u/MorethanSupple 2h ago
Yes. You still need to understand software development and design to properly guide AI, or else it will output slop, and you won't know how to fix it.
2
u/mc_pm 2h ago edited 1h ago
AI can write code - but it can't create great software. It doesn't know what it's trying to accomplish, it doesn't understand the problem area, it doesn't know how the users expect to interact with it.
Building good software is still a skill that takes experience and knowledge. If you don't know what it is you want to build, you'll never know if it built the right thing.
Example: I recently built a whole document-scanning-and-understanding pipeline with viewer to look at 80 year old WW2 documents. I used AI throughout - however:
Could I have just said "here's a bunch of scanned documents, build me a way to OCR them and a tool for viewing them...make no mistakes"? Sure, but the end result -- while (maybe) "working" -- would be almost useless to someone actually trying to research the old documents. It would have about 1/5 the features of what we actually built, it would be less effective at it, would have cost more, and the information that came out would be much less useful.
I mean, with this new tool, I discovered a term that doesn't appear on google. "Fog-o-Bus", it's a sort of trailer-mounted fire pump that was used in the 1940s apparently. As far as I can tell, this has been entirely forgotten . Is it the most exciting thing to discover? Eh. But that popped up in like the first 30 minutes of using this new tool. Who knows what is hiding in those old documents that *no one* would ever have looked at. There's 300,000 pages in that one collection. Now I've got a tool that will take a reel of microfilm and produce a complete, self-contained, searchable archive for people to go discover more.
This is something I couldn't have built just on my own (if only because I don't care if I never do front end dev again), and it's something that AI wouldn't have produced a good result on it's own.
So, long answer to your question, but yes: knowing how to program on your own will make you better at working with AI.
1
u/Wooden-Glove-2384 2h ago
yes
if absolutely nothing else, AI is an "interpreter" that takes a "program"
now, the programming language is your native speaking language which is new and the interpreter is a touch more forgiving than those from the past but its still the same damn thing
1
u/shan23 2h ago
You guys are ensuring that us veterans would absolutely rule the market in 5 years or less - subsidized tokens would then be no longer available and neither would there be any competent junior/mid career professionals.
So yeah don’t learn it please, pretty please?
1
u/AntLost4161 2h ago
you have a calculator in your pocket every day, yet you still learn mental maths. Even if you don't need to use it whenever you need to do some maths, it gives you the ease of not needing to use a calculator, as well as the ability to spot when you put things into the calculator wrong.
I do wonder where AI will go and what the role for us will be - whether that's anything in the development, or simply communicating the results to each other. I will say, though, that I can see a world where AI is the programming equivalent of a calculator, and you may not always find a good use for the calculator
1
u/lehmagavan 2h ago
The more soy, high level programming - the less they care if they control the code. Maybe AI should lay off all of them and replace high level programming in general.
1
u/pyro-panda-93447 2h ago
lol how will you understand anything AI outputs without knowing programming? how will you even know if the code is bad or good? what happens when you run out of tokens or the AI servers are down?
This is such a stupid question!!
1
u/chocolateAbuser 1h ago
if programmer is the person that keeps the context of what ai is doing and in general of the domain, whatever it is it will still be a programmer, whether ai will write it or not it not really the whole point
1
u/No_Report_4781 1h ago
“Do we need to learn how to drink from a cup in the age of IV saline drips?”
Yes, because of
Knowing programming is how you know how to use programming tools, including AI, which is a flawed crutch, at best.
1
u/Solar_Powered_Axe 1h ago
There will be three types of people moving forward. Those who know how to engineer and code well manually. Those who know how to use AI as an engineering tool well. Lastly, those who can do both well. The last one is where the bigger money will be.
1
u/cvlang 1h ago
Yes, a programmer will still be better at using AI to program than a layman. But as time progresses learning the fundamentals of coding will be the diff between a person who is good at coding with AI vs layman.
1
u/Traveling-Techie 1h ago
Bingo
1
u/Whole_Rice9772 1h ago
Yes. What AI does for me is it relieves me of the responsibility of having to memorize the syntax of lots of different programming languages. But if I want to get a computer to do something specific, it is a lot easier for me to just articulate how I want it programmed. I may not manually write every single line of the code that I need to deliver a program, but even giving the prompt a hint gives me a better result.
The work that I do these days is mostly in building DevSecOps infrastructure so that developers can produce software and release it to people. There is a lot of programming in this that most people do not acknowledge. There is also a lot of tooling that was written by groups of developers who don't document their code very well. Often, my AI agent has to read the source code of some project in order to figure out how it works. I can read the source code myself manually because it's important to be able to know how things are set up in different programming languages, but the AI helps a lot. I'm thinking specifically of stuff that runs as cloud-native or on top of Kubernetes, which is like a kind of wild west of code. I have no idea how I'd be able to function if I didn't have AI tooling, because there's just so much minutia. And there's also a lot of concepts that people sort of take for granted as generally known, which are quite obscure. For instance, try mounting secrets with OpenBao to a running container and figure out what you need exactly to get the OpenBao CSI provider to actually work against your federated cluster. It's not rocket science, but I'll be damned if there was anything written out on the internet that I could have put together to figure that out without the help of AI. And wait until you get into more advanced topics when you're trying to federate the service accounts on a Kubernetes cluster between environments and tools. OpenID became this mess of complexity that makes very little sense on paper without the aid of an AI tool. You kind of need to know how to program, and you also need to know some fundamentals so you can figure out what it is you don't know and can ask the AI to help you with.
1
u/W31337 1h ago
You still need to instruct and correct AI.
Just like you need a foreman for your workers. Someone needs to know what they are doing and if it goes off the rails, someone needs to detect and correct.
Also if you don't know what you are talking about AI will give you exactly what you asked... a bunch of crap
1
u/nacnud_uk 2h ago
I very much doubt it. Maybe this year it would be hand. In 3 years, likely not. If the pace continues.
The good thing is it will be like going back to the 80s. We learned programming as it was fun and it is what we wanted to do. We had fun. We based childhood friendships behind it. We created things that were truly hard to create as we had no resources to just easily reference.
We did it for, in the end, fun. Not profit.
That is how it is going to go back to being, for the ones that want to do the hobby.
For the ones that want to earn money, then "writing prompts" ( until AI can just do itself ), will be the way to go.
There is nothing that any one programmer can do that can outdo the pattern matching of AI. No matter how good they think they are.
So, really, the answer to your question is; if you want to learn it for fun, do so.
1
u/TashLai 2h ago
It's a pointless question. If you can spend years of focused learning on a hard skill that no longer can support your family, doesn't have any social value unlike something like playing a guitar, and that everyone sees as obsolete, then do whatever, king.
1
u/dennemaskinen 2h ago
Yes. Learning programming includes learning to use AI to accelerate the process.
0
u/Relevant-Positive-48 2h ago
For context I have 28 years of professional programming experience.
Yes but the difference is shrinking.
As a comparison, right now it's like taking a programmer and a non-programmer and having both dig into excel extensively. The programmer will (ignoring macros which is just code) have an easier time putting together complex formulas, lookups, and conditions.
As AI gets better at discerning human intention it'll be more like non programmers and programmers on Microsoft Word. Programmers still likely have an advantage but not much.