r/learnprogramming • u/4r73m190r0s • 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
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 •
I think it would be a sad time for humanity when all the achievements are in our name only rather than by our efforts.
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.
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/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.
-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.
-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.