r/learnprogramming • • 5d ago

Topic Am I wrong for not feeling okay with completely surrendering to the AI agents?

Maybe this is mine OCD personality, but I just can't develop something if I don't completely understand the code. This makes my work significantly slower, compared to the pace where I would delegate everything to AI and just brute force towards some end goal.

123 Upvotes

51 comments sorted by

27

u/podule-games 5d ago

I think in years to come, and decades to come, there is going to be real value in programmers who actually know how to program. There are going to be a lot of programmers who can get their job done with Claude prompts but don't actually understand what is happening on the computer.

I think the programmers who *do* know what is happening are going to find themselves in a rare position.

As someone who has been programming since the 1980s, I've seen what people can vibe-code and it's scary seeing my decades of experience look a bit less valuable than it was. I do think there will remain value though in people who genuinely understand what programming is.

58

u/Siech0 5d ago • Bravo

I think it would be a sad time for humanity when all the achievements are in our name only rather than by our efforts.

1

u/ProfanedArbiter 3d ago

Very true. Ownership without stake is hollow.

70

u/rastaman1994 5d ago

For learning, do it yourself. You won't know what good or bad code or architecture are otherwise.

For work, leverage and learn the tool, like we've always had to. You should absolutely understand the code still if your a professional.

14

u/obsolescenza 5d ago

Don't worry my friend, we are in the same boat, what I do is:
I know that stuff made due to external pressure (exams, projects for work, etc) need results and pace, they don't really care about your journey

What I do is: when something truly inspires me I learn about it much more and in much detail, I use books, I google,I use Wikipedia I ask AI for sources and exercises and/or examples and where to search further, so don't worry. If you love this, keep learning it

32

u/joestradamus_one 5d ago

I refuse to use any AI personally. Absolutely fuck that garbage. Anyone glazing AI is a shit moron. I have just been forced to use AI at work going forward and I'm seriously considering leaving the tech industry, because I know most places are the same way now. But my other skills wouldn't provide for family as well, so if I stay, I'll hate myself until I retire.

19

u/Wonderful-Habit-139 5d ago

That sucks. If you're able to be productive without AI then you can fight back against the AI mandates. That's what I personally did.

But if they favor speed of output over understanding and quality then yeah it's a tough battle.

21

u/dysprog 5d ago

I feel the same, and a am consistently disappointed that there aren't more of us. This ai trend seems like a total loss of control, not just for individuals, but for humanity as a whole.

8

u/40mgmelatonindeep 4d ago

Usage limits are getting imposed left and right at tech companies now (at my gig as well), it is a huge expenditure and is only going to get more expensive as time goes on and eventually ( I hope ) that the pressure to use it for absolutely everything will wain and we will hit a healthier balance in the next couple of years. I use it balls to the wall on my current project at work and cleared 10,000$ in tokens in a couple of weeks, there are devs with quadruple that in the current quarter, that is absolutely unsustainable.

2

u/tenemu 4d ago

Use it to review your code and nothing else.

1

u/RiceBroad4552 4d ago

May I ask what you hate so much?

The tools where annoying for quite some time, but what we got the last 1.5 years or so is actually starting to be helpful.

I still don't think that 100% LLM generated code is going anywhere, that's just 100% tech dept.

But as long as you use it supervised it can actually deliver quite nice results.

The question is of course: Do you use the fast typing monkeys to maximize slop-throughput, or quality? If you don't use to generate a lot of code fast it can actually deliver quite good results; this "just" needs quite some babysitting. But you get now your good results faster then before, in my experience.

4

u/Ducky758 4d ago

People are using it in a way that harms people instead of helping them.

Corporations think it can replace the entire work force. If no one works, then who has the money to buy anything? Artists are losing jobs too. People are using it to vibecode, which is different from ai assisting. Vibecoders don't know what the code does, which can cause issues in the code and stuff without human oversight.

People are using it steal other's work. Deepfakes (which can be harmful in politics and can blackmail people), pretending you did smth impressive (like a painting) when you just told AI to make a painting. Its being forced on every corner of everything without a second thought. AI companies stealing everything without paying anyone.

Environmental issues too, look at datacenters. I'm both with and against AI though :P

0

u/LegendOfAB 5d ago

I completely understand, but right now it's looking like your current convictions will not survive into the future. Please take care of your family for now and just try to stay content with that until we figure out where to land this wild ride over the next few years!

3

u/Matilozano96 5d ago

A lot of people are there. I’m not someone who enjoys coding or takes pride on knowing syntax and IDE shortcuts; always questioned the obsession the area had on language and framework expertise over… being competent and able to learn what you need.

Still, I feel some people are delegating a bit too much and it might backfire. Whenever I use AI I feel like my knowledge of a project is less than what it used to be. There’s definitely a cognitive gap.

Extrapolate that to a full organization with people that don’t bother reading the code most of the time, and who knows what messes are bewing.

6

u/FinaglingFox 5d ago

congrats, you got the tism like me

2

u/AutomateAway 5d ago

I don't think you should ever surrender to the AI agents, even if you primarily code using agentic tools. Be sure you can understand code being generated, and learn to write that code yourself before trusting an agent to do so. And always review code that you didn't write but are committing, because in the end, you are responsible for that code whether you wrote it or not.

2

u/SprinklesFresh5693 4d ago

I think youre doing well. The issue is the other people that blindly trust something they dont understand.

Im the same, i sont like code that i dont understand, why? Because i cant remember it.

If i understand the code, i can go back no matter how long it passed and re check, and analyse something on that script(im a data scientist using R) , but if the code came from AI and i didnt know what it did? It can take me hours to verify

7

u/MarinoAndThePearls 5d ago

It's not wrong to not use AI, nor is it wrong to use it. You can still understand the code while using AI.

3

u/FlashTheCableGuy 5d ago

So many think it's black or white. Discernment is a super power in today's world.

1

u/secretsodapop 4d ago

You need to use AI if you want to be employed as a programmer.

3

u/Iron_Man652 5d ago

I think there's a way you can both use AI and understand your code while still saving time

3

u/ComputerWhiz_ 4d ago

No, I don't think your wrong. I think that's the approach that should be taken.

Right now you have to main sides to AI. You have the people who have been AI pilled and will say stuff like "if you aren't using AI for everything you will be irrelevant" or "software development has been solved". Then you have the people in the other camp that are entirely against AI who will say stuff like "AI just created slop" or "you should never use AI".

The truth lies somewhere in the middle. AI is a helpful tool in the right hands and can be really good at speeding up many tasks, especially simple repetitive ones. Where AI still struggles (just by the very nature of how the tech works) is debugging.

Debugging requires a deep understanding of how something works and the tech stack you are using. So you may not need to write every line of code, but you still need to be able to understand it and to catch AI when it goes off the rails.

The other thing to consider here is your skill level. If you are still learning or are even a junior level, you definitely should not outsource everything to AI. Failure is how you learn and if you are always having AI do everything, your opportunities for growth are greatly reduced.

TLDR: AI is not perfect, so you still need to understand how things work. Slower can be better, as long as you are growing.

2

u/P-39_Airacobra 5d ago

Im the same

2

u/pVom 5d ago

I feel like it's inevitable at this point. You can't fight it, these protests don't mean shit, they'll just fire you and hire someone willing to use it.

It's easy to forget that we're getting paid to make money for businesses and those businesses have competitors that are also using AI to win over customers.

It's down to us to position ourselves to remain valuable to the companies that employ us. At this point AI writing code is still much better in the hands of an experienced engineer than it is in the hands of anyone else at the company. Shuffling AI through the process of writing and shipping code still takes time and that's time away from other processes at the business, it makes sense to keep the engineers on to do that job. The companies that view AI as an opportunity to keep 10 engineers and 100x their productivity will win out over those who see it as opportunity to fire 9 engineers and keep one at 10x productivity.

Recently my brain time has been dedicated to thinking about what processes should be in place to ensure we can keep shipping safely at this high velocity, because human reviews aren't it anymore. Then there's tackling long standing problems that couldn't be solved before AI due to time constraints, as well as ways we can leverage AI to solve problems for our customers.

Frankly I'm barely writing code anymore, yet I've never been busier.

Do I miss my old job of solving problems with code? Sure. But that job has gone the way of switchboard operators and the like.

1

u/Substantial_Zone_289 5d ago

on the job, use whatever tools help you shop faster , as long as you actually understand the coder going into production , while youre still learning through writing it yourself is the only way you develop a real sense for good vs bad design . otherwise you just end up putting your name on work you did't really earn , which takes most the meaing out of building things in the first place

1

u/AcadiaScarlet 4d ago

Hey I am fully with you. The reason I'm using ChatGPT is usually because I want it to clarify code syntax I don't understand. But I'm constantly being careful not to become reliant on it, because in the future vibe coders are gonna be helpless, because they can't explain the code they prompted. My autism wants to understand every single word and character and because I have a hard time understanding abstraction. I search articles, tutorials and videos on the internet the good old way, I'm also a junior dev so I'm trying to learn concepts myself as much as I can. Trying to do 50/50 AI prompting and researching myself. Checking the sources for the concept AI explains helps me verify the answer is factual.

1

u/AJ-the-Gamer19 4d ago

No, you're not wrong at all!! It's much better to actually code things yourself and learn how the process works.

If you rely totally on AI, you're in the dark. You have no clue what's actually going on under the hood. I think it's good that you want to think critically about these things.

We're just going through what always happens when companies go crazy over an investment: they become overly reliant on it and obsessed, up until the point reality hits and the overestimated value drops back to normal.

0

u/sirius_moonlite 5d ago

I think the key here is that you realize that brute forcing toward a goal is bad. Keep that. You can delegate to AI but do it in small checks that you can review. I catch my agents being absolute dombasses all the time. Delegate commit sized bits of work at a time.

-2

u/CrAIzy_engineer 5d ago

You have a point, but to some degree this is just the natural evolution of coding. We went from binary to low-level languages, then compilers, interpreters, autocomplete, copying from Stack Overflow, auto-formatting, and now AI that can assist you, write code for you, or build whole features. Each step was a shift in perspective.

The honest question is: if everyone on your team ships three projects a year, do you want to be the one with 70% of a single project, because you wrote every line yourself?
It also depends a lot on the domain. I don't write airplane control systems or medical software, where a bug can cost lives. What I build saves millions if it works, and if it doesn't, it just saves nothing until it's fixed. So for me the risk/benefit tradeoff favors moving fast. If I were working on safety-critical systems, I'd want to understand every line too.

For me it's a similar dilemma. My personal answer is a hybrid. I let AI handle repetitive code, I take its suggestions, and I use it to test my code. At the same time I try to understand as much as I can, without becoming the bottleneck that holds the project back.

8

u/dkopgerpgdolfg 5d ago

evolution of coding. ... compilers, interpreters, autocomplete, copying from Stack Overflow, auto-formatting

Apples and paragliders, sure. If you call this "evolution", you didn't understand half of these concepts. You know that auto-formatting isn't "better" than a compiler, but orthogonal?

And listing "copying from stackoverflow" at all ... your "evolution" is bad. Being a code monkey, that doesn't understand enough to not copy there, isn't desirable.

So for me the risk/benefit tradeoff favors moving fast. If I were working on safety-critical systems, I'd want to understand every line too.

Does your software contain / work with client data? Intellectual property? Can being hacked and/or audited financially harm the company that used it?

Not everything is about life and death directly.

For some reason some software developers get away with much crap where other professions would already be imprisoned, and this isn't your fault, but no excuse to deliver crap.

At the same time I try to understand as much as I can

Nice.

1

u/CrAIzy_engineer 5d ago

I appreciate your answer, but not your tone.

My code is exactly as mentioned, has no consequences if something does not work. More details are not to be shared here. My point is depends on the use case. My use case has low/no risiko.

3

u/dkopgerpgdolfg 5d ago edited 5d ago

has no consequences if something does not work. More details are not to be shared here

It's fine if you don't want to share, but something to think about: If it has "no consequences if it doesn't work", why someone pays you to make it...

-2

u/CrAIzy_engineer 5d ago

I mentioned it already, when things work, and they usually do, those projects save millions, when not, then they are where they were before us.
My yearly salary is saved in a week or two on a project, we always have 5-7 projects in progress and 5-10 in the backlog. We prioritise output as long as what we do works. And if projects are sensitive, they happen sometimes, then there are always a senior or two before deploying.

-2

u/JoseLunaArts 5d ago

You need to understand the code. AI can produce code, but it is your responsibility as human to make sure it works and to make sure it is good code (reusable, safe, etc).

So you are on the right track. The future of programming when the AI agent trend is over, will be humans supervising Ai code.

7

u/rokd 5d ago edited 5d ago

Honestly, this sounds like executive bullshit. I'm now expected to churn out features 10x as fast as before, there's no way to make sure that all of it is good, maintainable, etc. I can skim and say, yeah, looks good at first pass, but to really dig deep into code takes much longer than it takes to generate.

The simple fact is no on cares if it's good, reusable, or even maintainable. "Just works" is good enough, now, unfortunately.

3

u/JoseLunaArts 5d ago

No one cares now. But they will.

1

u/KasrkinTrooper 4d ago

"The simple fact is no on cares if it's good, reusable, or even maintainable. "Just works" is good enough, now, unfortunately."

And it will backfire in the future. Yes, the AI can produce good-enough code for specific task, but I saw how messed up it can be when you try add new features to "app". Especially, when it's done by someone who don't know how to code.

2

u/rokd 4d ago

I guess my point is that I'm no longer asked to care about writing/generating good code. I'm asked to pump out features as quick as possible, without the opportunity to determine if that code is good or not. In fact, when I submit features, or "review" submitted features, all of that is done with Claude as well.

If I try to go to my Manager/Director/VP/CXO whatever, and say "Hey guys, we need to slow down because the quality of the code that's being generated across the company is sub-standard" you'll get laughed out of the room.

0

u/KasrkinTrooper 5d ago

"but it is your responsibility as human to make sure it works and to make sure it is good code (reusable, safe, etc)"

Why should I be responsible? I didn't write it, I didn't design the solution, I didn't touch the IDE, I didn't choose the architecture. I raise that point recently in my job - IF you want me to take responsibility for task, then I will write code by hand, IF someone else is willingly to take responsibility for AI generated code - fine, then I will prompt and release to production.

-1

u/JoseLunaArts 5d ago

In the future, coding will be a quality control job. You will be responsible for the quality of the code.

2

u/KasrkinTrooper 4d ago

Yeah, and when wet dreams of CEO's comes true and nobody will be coding by hand, who and how get the knowledge and know-how to determine if AI code is good or bad? Will it backfire because of security reasons or not? If the data and process is reliable or not?

I used AI merely for help during coding (search for documentations, examples, etc.) and even that after few months moderately impaired my coding. Because you don't have to think when using AI, it's is completely brainless job. So i just quit AI coding and reserve it only for specific tasks given by supervisors, but with annotation that I will not take responsibility for code.

And there is another huge risk - when AI bubble pop nobody expects that will get rid of AI models entirely. But it will be enough major players disappears and with them all knowledge and know-how about process, tasks, code and whatever companies load into agents.

-2

u/spinwizard69 5d ago

This is a mental problem because I'm, pretty sure you don't know your code to the depth you may think. Do you really understand every part of the OS and the graphical SDK's. Hell if you are using C++ or other languages with advance libraries, do you really understand them in depth.

I kinda understand what you are complaining about but I think you are misguided or maybe negatively focused on what AI delivers. Lets say you are programming with C++ and and advance lib for some heavy math. Do your get overly concerned that the lib is a bit of a black box or just use it. Most people just use the lib, especially if it is well established.

0

u/lowrads 4d ago

You kinda have to accept that you can never "completely" understand any process, no matter the discipline. Some part of it will always remain empirical.

-2

u/tape_reel 5d ago

I've been working with AI to build some tools for automation at work. I do it section by section and make sure I know what everything does before using what is suggested, often catching errors that would either break the code, or cause some undesirable results. This is how I have been learning. And if I didn't do it this way, I'd either not understand the code and why I suddenly lost the data that I'm working with, or I would still be at the equivelant of line 50 on ny 2000 line (snd still building) script.

Using AI isn't submitting to it if you use it as a tool rather than a magic coding factory

-3

u/DealDeveloper 5d ago

This is a relatively easy problem to solve.
Think about the problem.
Exactly HOW would you solve this specific problem?

-3

u/Such--Balance 5d ago

You feel that way but it isnt the reality.

You dont understand it completely regardless of ai or not. Software and any use on a pc is done on layers upon layers of abstraction already. Of which nobody totally understands what they do.

Some you are just more used to than others.

Which is fine. Nothing wrong with slowly adjusting to new ones. Nothing wrong with not adjusting either if you dont want to.

Im not denying theres tonnes of value in keeping an understanding in what you are doing.

-4

u/Dissentient 5d ago

It's impossible to "completely understand the code" because then you'd have to completely understand the framework and every library you're using, and also all layers of abstractions below them. That's likely millions of lines of code just one level below your application.

I find that it's completely fine to not understand how particular functions and components work as long as they do what they are supposed to. We have abstractions for a reason.

It's more important to ensure that your application has sensible architecture overall than knowing how every little detail works.

-5

u/JMusketeer 5d ago

Question is, was there ever a point where you would understand every single line from top of your head?

When creating a simple calculator, sure, anything else? Doubt so.

-6

u/ConfidentHollow 5d ago

In which case, you don't actually have an interest in learning. This post is off-topic to the purposes of the sub.