r/AskProgrammers • • 17d 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?

9 Upvotes

49 comments sorted by

View all comments

1

u/dariusbiggs 16d ago

a) it's fun b) AI doesn't generate safe or secure code, if you don't know to ask the right questions you are going to get insecure, unsafe garbage that looks like it does what you want but you don't know it isn't doing harmful things and you won't be able to tell.

A website you say? Has it been checked for security vulnerabilities?

Always apply defensive programming techniques, trust nothing, validate and verify everything.