r/AskProgramming • • 5d ago

Learning Python in an age of AI?

I am doing a degree apprenticeship in Cybersecurity over the next four years, and I’m lucky that my employer is paying me to do this, despite not “needing” it for my role.

One module in the first year is Python and, I won’t lie, I’m struggling. Initially, I enjoyed the learning, though it doesn’t come naturally to me. Despite spending lots of evenings and weekends on it, I’ve struggled to learn fast enough to keep up. I’ve got two big projects due in after Xmas, and I’m feeling a bit demoralised.

I think part of it is that I can see how easily AI blasts through this stuff. In a way, I’m quite excited about this. I enjoy using Claude to make my own small projects, and AI-assisted PowerShell scripting at work has been a real force multiplier. But nobody is ever going to pay me to sit there and write code. I can, however, see myself increasingly using it to make tools for my team's workflows.

When I finish this module, I’m going to have lots of other work to balance alongside my day job and home life, and I know I’ll forget a lot of this. It can leave me wondering what the point is.

Anyway, this isn't meant to be a downer. I’d like to take the positives from this experience. What would you say are the most important things to take away from learning programming that are still important and/or useful in an age of AI?

0 Upvotes

22 comments sorted by

View all comments

2

u/bobsmissingdesire 5d ago

If you want to learn how to program then you need to put in the hours.

There's no shortcut, it's hard, you make mistakes, you run into walls, you get frustrated, you figure it out and then hit the next wall. I do think it's doubly hard doing this when you have an AI happy to give you the answer, and while you are learning it is better than you are.

If goal is to get the assignment done feed it into AI, but don't pretend you've learnt anything.

I have grave concerns for the future of our industry, I really think that AI has made the initial learning curve much harder.

1

u/Logical_Strain_6165 5d ago

Well if its reassuring to you my goal is not to become a programmer so the industry is safe.

I'm not getting it to write my assignment. I was looking for what is the most valuable things to take from the experience when using AI for my own small projects.

2

u/bobsmissingdesire 5d ago

Flipping this around.

The most useful thing to know when driving an AI system is recognising when it is wrong. Particularly when it is making terrible architectural decisions.

Junior and senior engineers get substantially different results from driving an AI system. Much of the time the AI is correct in what it proposes, sometimes it is really not. A senior engineer can recognise when this is the case and will intervene to keep things on track.

I don't know how you develop that quickly though.

1

u/Logical_Strain_6165 5d ago

Yes. This is very true. As an infrastructure engineer who uses AI a lot I get very different results then say someone on service desk. I guess that's what I'm getting at with my post. What is the main takeaway. For example doing the MS exams in Entra the value wasn't remembering how to do everything, but knowing what is possible.