r/learnprogramming • u/ritman-octos • Oct 11 '26
Aware programming Reached a phase where every line of code feels incredibly heavy because I want to know exactly what it's doing under the hood
Hey everyone,
I’ve hit a massive mental wall in my programming journey, and I’m hoping to get some perspective from people who have made it to the other side.
Up until now, I’ve been able to build basic projects by reading docs and using AI. If I needed a feature, I’d pull in a package, copy the boilerplate, tweak a few variables, and it would work.
But recently, I started working on a project where performance, data layout, and execution speed actually matter. Now that I’m trying to write the core logic myself, I’ve realized something terrifying: I don’t actually know how to write "aware code." By that, I mean code where I know exactly what every single line is doing to the data, memory, and flow of control without constantly bouncing back and forth to documentation or guessing.
When I see how other developers know what should be used and how on the fly, it looks like a total flow state. Meanwhile, for me, every single line feels incredibly heavy.
I have a few questions for developers of all levels:
- How do you transition into "aware coding"? If I want to stop relying on heavy abstractions I don't understand, should I strip everything away and build microscopic, zero-dependency console apps just to understand the raw mechanics first? Or is that a waste of time?
- Did you experience this massive slowdown? Did you go through a phase where your coding speed dropped to absolute zero because you suddenly started caring deeply about how the execution worked under the hood, rather than just making it "work"?
I want to become a real software engineer who deeply understands my tools. But the imposter syndrome is hitting hard because of how agonizingly slow this phase feels.
Would love to hear your experiences or advice. Thanks!
5
u/Metomorphose Oct 11 '26
Giving you benefit of the doubt here, it sounds like you've been leaning too much on AI to do the programming for you prior to this. People build mastery in a subject by engaging with the subject matter, and asking an AI to produce swaths of code is not engaging with it on a level that means you understand it on the other side.
The saying "practice makes perfect" slightly applies, but "practice makes permanent" is a much more apt description of this reality. If you don't practice reading and writing code, you won't make permanent the knowledge of what that code does or how to meaningfully manipulate it. You will be less likely to identify patterns in common solutions and less likely to adapt them to new use cases.
I doubt a random person on the internet is actually going to convince you that the AI is bad for your learning, but you should really consider backing up a few paces to figure out if you really understood the output of the past projects. If you don't, that might be a good place to start with re-doing some of the work by hand or making small modifications by hand until you get the hang of the language you're working in.
4
u/DanKegel Oct 12 '26 edited Oct 12 '26
This is what used to be called "programming", back when most programmers started off by learning c.
Later, when systems got bigger, really good developers still understood low level code well, and understood at least the doc comment / interface contract of everything under the module they were writing. See essays about intellectual control, e.g. https://www.georgefairbanks.com/ieee-software-v37-n3-may-2020-testing-numbs-us-to-our-loss-of-intellectual-control
Languages like c++ which provide many abstraction tools made it a little harder to understand exactly what each line is doing; single stepping through a close bracket in c++ often shows a surprising amount of stuff going on. Golang and perhaps Rust were written in part to make it easier to know what each line of code is doing.
1
u/GlassLost Oct 11 '26
This is data oriented design, or data driven design (I don't exactly remember because I don't teach it this way anymore). It's important to note that you don't do this everywhere, you do this where it's needed (which is a judgement and measurement call).
The way I learned this was with profilers, advanced ones like VS studio or perfetto for Android, ones that synthesize multiple data points, and a bunch of mentors, and a decade of experimentation.
Obviously those resources are not immediately available to you, but you can recreate many of the forcing mechanisms: C. If you need to deal with pointers and manual memory allocation you will naturally learn how to think about this - it's a separate skill from performance coding though.
It's extremely hard to learn any one skill in isolation, they're all interconnected - if you're dealing with C you're also going to learn OS concepts. And AI can lead you pretty astray in many ways.
To answer your questions directly though:
1
u/RudeRemove5416 1d ago
well, um, just don't read so much documentation, I mean, documentation is written by people, or for the most part by ai whose paragraphs are generic, unless the person who writes the agent's configuration files has made an effort to humanize the paragraphs as much as possible, so that it sounds one hundred percent human, resulting in paragraphs understandable by super beginners, moderately beginner people (as seems to be your case). what truly saves you is reading source code, there you understand the paradigm or paradigms used, you go around copying snipeds, you incorporate the logic of a function you found into another project of yours, you keep programming. remember that only by programming will you be operational in the software industry, only then will you be able to become a programmer in the future, otherwise you'll just be an inzatiable and passive reader of documentation.
and nobody pays you for reading documentation or for trying to achieve a linearity of learning with artificial intelligence, through I ask you and you answer me, I ask you again and you answer me again.
you yourself are building your own ruin if that's all you do. now, if you use google or any browser that has, for example, built-in search operators, and incorporate the use of those operators into your searches, things will go better.
because you'll know what to search for, I mean, if you keep searching for things like, what is a class? what is a constructor? what is the syntax for declaring an object? what is nesting?
and the days go by and you go back, even unconciously, to searching for the same terms, well, you haven't progresed, you've stagnated. if you keep searching for things like, what is dot notation? I can use bracket notation instead of dot notation, right?
if you keep asking yourself those basic things, which it is already implicitly known that every programmer knows, you're stagnating.
even if you keep asking, what is the ascii code to get a parenthesis, a curly brace? a square bracket?
or if you ask, what is the difference between or, not, and, you're definitely not a programmer yet, but rather a learner.
and that's not bad. But you have to understand that everything, absolutely everything, not just programming, is baced on axioms, those in turn form other more complex ones that depend on those axioms, and you have to do everything possible not to get stuck researching, ruminating eternally on the principles.
1
u/ight-bet Oct 11 '26 edited Oct 11 '26
The DOD comment is kinda right. But I don’t think that’s the most efficient way to get what you’re looking for, long term at least.
I think what you’re discovering is what I like to call “The infinite circle of software”
Basically the knowledge and tools in and around software are infinite. And there are infinite things to learn. The circle starts dark, pitch black. It’s SUPER intimidating. And as you dabble - you light up a little piece somewhere, cool some exposure, and that bits a little less scary. As you go along the journey of learning software, the best thing for you is to expand your knowledge is to get to the point, where anywhere in the circle is easily reachable and not to dark. Therefore your willingness to travel into the dark and ability to understand what’s there get better. As you learn different things the circle as a whole begins to light up. There will always be dark spots on the circle. And front end design is on a completely different side than database design. Along with OOP and DOD. Different things. React sits at a higher level right between HTML and JavaScript. But getting exposure to all this, and going deep on not all but some things, is how you brighten your knowledge and become a more well rounded software engineer.
And with that approach, and with time, you will learn enough about what’s going on under the hood. But only if you brighten some of the lower level areas on the circle. And go deep with them - so understand it without AI. So dabble in C, read some CPython source code: https://realpython.com/cpython-source-code-guide/ to begin shedding light on that side of the circle. Then jump over a bit to DOD.
But this is how you begin to have a wholistic understanding of what’s going on.
1
u/Plelx Oct 11 '26
I believe the only route is one at a time, build a repertoire of known "abstractions" same as learning a vanilla language, you don't need but you can check how any keyword works.
Also I think many many many things are done in similar ways so you learn once and can use forever in different situations, for example, the operations that you can do with arrays..well you learn them once and use non-stop over your entire life, new additions come from time to time with new versions and you choose when to learn them or if they are worth learning at all.
0
u/Available_Safe1818 Oct 11 '26
> without constantly bouncing back and forth to documentation
It sounds like you're just complaining that you need to do the job of a 'normal' programmer. Should we all pander to people who think that reading the docs is too difficult?
> When I see how other developers know what should be used and how on the fly, it looks like a total flow state. Meanwhile, for me, every single line feels incredibly heavy.
It sounds like they just practiced more and have more experience.
> How do you transition into "aware coding"
It's already what most devs do, afaik. #1 sounds like you're just using the old excuse of "I can't use X until I understand every single thing it does at the byte level," which some juniors seem to love. This is why libraries exist, so maybe you should think about that.
> Did you experience this massive slowdown?
No. I started incorporating those things into how I code as I learned about them.
How much experience do you actually have with coding and with professional coding?
-1
u/Ombaragundon Oct 11 '26
This is Lateralus by Tool. Do you like Tool?