r/learnprogramming • u/4r73m190r0s • 1h 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.
23
Upvotes
18
u/rastaman1994 1h 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.
13
u/Siech0 1h 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.
3
u/MarinoAndThePearls 1h 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.
1
u/P-39_Airacobra 1h ago
Im the same
1
u/obsolescenza 1h 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
•
u/JoseLunaArts 48m 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.
1
u/FinaglingFox 1h ago
congrats, you got the tism like me
•
u/joestradamus_one 58m 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.
0
u/CrAIzy_engineer 1h 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.
0
u/tape_reel 1h 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
0
u/sirius_moonlite 1h 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.
•
u/JMusketeer 51m 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.
-1
u/DealDeveloper 1h ago
This is a relatively easy problem to solve.
Think about the problem.
Exactly HOW would you solve this specific problem?
•
u/Dissentient 41m 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.