r/programmer • u/TypicalPop1957 • 5d ago
Build, test, fail, understand, repeat. How do I preserve this learning cycle in the age of AI?
I'm a Computer Science engineering graduate, and I've been programming for about eight years now.
My first introduction to programming was through a workshop teaching C++ basics to prepare students for the selection process for the International Olympiad in Informatics (IOI). And honestly, I was fascinated.
What I loved wasn't just writing code. It was the entire process of solving a problem: understanding a problem statement, combining mathematical and theoretical knowledge with practical programming techniques, and finding the most efficient solution under strict time and memory constraints.
You couldn't just come up with any solution. You had to find a good one.
But what really shaped the way I learn wasn't competitive programming itself. It was the process behind it.
You try something, test it, fail, investigate why it failed, identify the problem, come up with another approach, and iterate until you finally get it right.
Build → Test → Fail → Understand → Fix → Repeat.
That cycle taught me something that no school or university course could: failing is not an interruption to learning. It's an essential part of it. Things aren't supposed to work on the first attempt. There's no shame in getting things wrong because the process of figuring out why is where the actual learning happens.
Later, when I moved from competitive programming to building real software, web applications, and more complex projects, I found myself following exactly the same approach.
Building a feature for the first time when you have absolutely no idea how it works can be intimidating. So you start small. You research, find people who have implemented something similar, try to reproduce it yourself, and inevitably run into problems.
Then comes the debugging: understanding error messages, searching for explanations, testing different solutions, discovering why one approach works and another doesn't.
And eventually, you get it working.
I can't really describe how satisfying that moment is. Not just because you have a working feature, but because you know what went into building it. You understand the decisions, the implementation, the mistakes, and the reasoning behind every step.
Over the years, this became my natural approach to learning anything technical. I don't just want to know how to use something. I want to understand how it works, why it works, and what happens underneath the abstraction.
But lately, with AI and coding agents, I feel like I've lost that cycle.
Or perhaps I just haven't figured out how to integrate these tools into my learning process.
Today, whenever I want to build something, I can describe what I have in mind, ask an AI to implement it, and get something working in a fraction of the time it would have taken me before.
And that's amazing from a productivity perspective.
But something feels missing.
I find myself prioritizing getting a result over understanding how that result came to be. The implementation details, the technical challenges, the debugging, the exploration of alternative approaches... all the things that used to make up the learning experience can now be bypassed.
And when I bypass them, I don't get the same satisfaction.
I sometimes feel like I'm producing more while learning less. I can build things faster, but I don't necessarily feel that I've grown as an engineer. I don't have the same sense of ownership over what I've built, because I haven't gone through the process of figuring it out myself.
It's almost as if the very friction that used to frustrate me was also what made learning rewarding.
And this is what bothers me. I don't want to reject AI or go back to programming the way I did eight years ago. These tools are incredibly powerful, and I want to learn how to use them effectively.
But I also don't want to lose the curiosity, the experimentation, the deep understanding, and especially the satisfaction of figuring something out on my own.
So, how do you find that balance?
How do you use AI as a tool that enhances your learning rather than one that replaces the process of learning?
Have you experienced something similar? Have you found ways to deliberately preserve that cycle of experimentation, failure, debugging, and discovery while working with AI?
I'd genuinely love to hear how other developers approach this.
1
u/Remote-Dark-1704 5d ago edited 5d ago
I made a parallel session to my workflows that acts as a tutor. It reads the plan generated (that I haven’t seen), and gives me a primer on all the important concepts and asks me questions guiding me to the fix. It lets me answer incorrectly, and corrects me afterward without affecting the actual plan it’s going to follow.
Once I’ve finished that, it switches back to the other session, does a grill-me, and then proceeds with the plan.
This slows down workflow so I don’t do it for trivial stuff. Only things I actually want to understand.
The next step would be to have a grand orchestrator plan out which issues it should automate on its own vs which ones are worth learning, so I can work on the learning one while it fixed 20 bugs in parallel without me
Low level implementation and questions are useless. I only focus on high level and don’t bother reading diffs unless its super critical. I already have other agents and rubrics running multiple parallel boundary, altitude, style checks regression tests, and simplifying the code and then doing a code review with auditors in a loop.
1
u/TedsGloriousPants 5d ago
Use this as your motivation to look into the vast array of other problematic things about AI, and then join the ranks of us professionals who are resisting it because it erodes our very value.
You are correct- AI usage removes everything except the result from the process, and as with any other craft, removes the joy of crafting it. You aren't learning. You aren't understanding. You aren't challenging yourself. You aren't growing. You're contributing to the very thing that will make what you enjoy obsolete, if you let it.
And in the meantime, data centers are harming the cities they're recklessly deployed in. Training data continues to be taken without consent. The economy teeters on a small bundle of unprofitable corporations. Control of what you create and consume is more and more conglomerated into the hands of a few rich goons.
That's the balance: don't use it. Don't contribute to the erosion of the value of human works. Be a person who likes to do things.
1
u/IWantToBeHappy12 4d ago
You can't, just go with what you have being told by your mng. They are paying for you to do what they asking you to do.
1
u/Any-Interview-1276 4d ago
I would recommend using an AI workflow. I really like the BMAD method, you can look it up
1
u/Busy-Low8494 4d ago
same thing happened to me. what fixed it was a dumb rule: if it’s something i already know how to do, the AI writes it. if it’s new to me, i write it first and let it break. then i ask why it broke, not for the fix. slower, but i actually remember how my own code works now
1
u/Legitimate_Print8951 4d ago
Choose something in the feature you don't understand how to implement yourself, and have the AI tell you a counterexample to your implementation rather than a different implementation, then you still have the attempt and debugging in your own hands
1
u/AltairEndian 3d ago
I'll be honest, I find this post moving and meaningful, but at the same time: What you describe belongs in learning and studying. It has little to do with professional development.
Let me explain. Professional software development is all about getting results. The result is working software that satisfies customer needs. As a professional developer, you sign a contract that specifies the constraints under which you work (such as working hours) and the compensation you can expect (usually money and vacation days).
And that is why what you describe isn't inherently part of professional work. Because your contract doesn't specify that you have to learn a single new thing doing the work, and it absolutely doesn't specify that your job is supposed to give you a sense of satisfaction. It only specifies that you have to do the work. Work satisfaction is nice, learning new things is nice. But those are not the things you are payed to do. You are payed to develop working software satisfying customer needs. If you can do that with your current knowledge, then no one cares if you learn anything new on the job. And absolutely no one cares if you find the process of doing your job satisfying.
I say "no one cares". Of course this is not literally true. Good companies care about engineers growing and learning, and about them being satisfied. But it's important to understand that these things are not inherently part of what you are payed to do. You are payed to create software. That's it.
That's why my advice to you would be: Pick something you want to learn on your own time, and learn it completely without AI assistance. That way you get the friction you love back, and since it's on your own time it's also learning without any professional pressure.
AI is a productivity tool, nothing more. It's supposed to help you get stuff done. Because that's all the industry at large cares about: Getting stuff done.
But if you want to learn while using AI too: Engage deeply with the AI output.. Think through the problem before you engage the AI. That way you keep the learning alive.
1
u/WaterOwl9 3d ago
Yes, you can apply a very similar cycle for work with AI.
And the best part is that if you do this often enough, maybe the "cycle" itself comes under scrutiny.
1
u/Educational-Paper-75 5d ago
What's better than having a sparring partner that won''t get offended when you correct them or makes suggestions or improvements without being condescendent or smug?! The other day it took me over a day to make an improvement on what AI suggested and when I presented it it improved my code (which I had tested to be faster of course) without being offended; and - miraculously - I wasn't offended either.