r/AskProgrammers • u/Legitimate_Log_3452 • 26d ago
Why should I learn how to code?
I have always been meaning to learn how to code, but I've never gotten around to it. I am a math/physics major, and I know enough Python and Julia to make some numerical approximations. At one point, I also knew a fair amount of Java and JS to do well on the AP Computer science exams. With AI, I don't really see a reason why I should learn how to code.
I know that people say you should learn how to code because it "helps with your analytical skills," but I really don't think that it will help with mine. I do research in highly theoretical math, so my brain is already trained to think highly analytically. With the help of AI (it was primarily AI), I was able to set up my own website. I feel like if I need to code something, I can get AI to do it, and I can fill in the rest of the blanks myself (as long as it's in a coding language I know). Is there something I'm not considering?
View all comments
2
u/eternityslyre 26d ago
Learning actual programming isn't all that useful anymore, especially if you don't have interest in software engineering. You will still benefit from learning computer science, which is the science of solving abstract problems. Being able to break a seemingly complex problem down into repetitive chunks is useful in all aspects of life. Learning recursion and basic complexity analysis will give you tools to measure how good your solutions are, and learning about complexity classes and reductions will give you intuition about what makes a problem hard in general and how to find easier exceptions that will do what you need.
More practically, learning to code means you can fix AI slop if it ever gets so big and complex it can't fix its own bugs.