I can no longer fully understand my own codebase
Posted by Medium_Support_5010@reddit | programming | View on Reddit | 12 comments
Posted by Medium_Support_5010@reddit | programming | View on Reddit | 12 comments
programming-ModTeam@reddit
Surveys and AskReddit-style questions are not allowed on r/programming.
GregBahm@reddit
I'm sure this will be deleted because r/programming is being weird about discussing the concept of programming in 2026. But AI hasn't really changed the game on "not fully understanding your own codebase."
I'm not sure any given professional programmer fully understood their own codebase back in the COBOL and Fortran days. Certainly a programmer on an operating system like "Windows" or a successful application like "Excel" or "Word" would be lying if they said they knew every line of code.
When I developed video games for a living, I would understand the game's codebase at the very beginning, but I certainly wouldn't understand the code base for the game engine. And after a couple of months, the game's codebase would become incomprehensible as well.
And those were little disposable 2-to-5 year game projects. The biggest project I worked on ("The Old Republic") with its $300,000,000 budget, is tiny baby potatoes compared to most projects. I've worked in "Dynamics 356" for years, and I can't even explain the damn place's org chart beyond the 300 people I work with regularly.
I think this might be why some engineers are less worried about AI than others. If some coworker codes with AI instead of human code, what difference does it make to me? Does the code run? Is the high-level architecture right? Then fuck it dude. Ship the feature.
lloyd08@reddit
I left a job 8 years ago, and I still occasionally get contacted about code I wrote while there. I was the 3rd employee, and when I had left, I had written roughly half of the backend. This isn't to say that I remember everything. I can assure anyone reading this that there are meaningful parts of that codebase that I didn't know by the time I left, much less 8 years later. But... I still know significantly more about that code than anything I've "written" in the last 6 months.
The problem was something we had "discovered" while we were growing. Knowledge simply isn't retained via reading code. Sure, code review is good for the actual review part, but it immediately departs the brain when you type "LGTM". It was a 90/10 rule: 90% of the code I wrote 6 months ago I could remember, but only 10% of the code I reviewed was still lingering in my brain. We made some policy changes so that more individuals were involved in code review, not for the sake of better code, but to distribute a bit more knowledge amongst employees.
Nobody is the source of truth anymore. And given the size of commits and LoC changes we're actually reviewing relative to a year ago, I doubt I'll remember anything in a year. We have significantly more PRDs and ADRs that we shove into the magical document processor to answer our queries about the current state of the codebase, but nobody actually *knows* anything. Whether that's actually an issue, only time will tell.
TheRealSkythe@reddit
Of course AI has changed the game on "not fully understanding your own codebase."
Before, idiots were FORCED to understand their codebase, read code, maintain documentation, talk to other devs, etc etc
Now, they lose any understanding of how things work the minute their LLM does sht. And they never regain it.
Physical-Sign-2237@reddit
it’s more like AI produce code no one has ever understood which put it’s understandandability in question
sure i dot remember and understand every line of code but i can recover the knowledge in donate amount of time because it is there
Medium_Support_5010@reddit (OP)
True, we never knew every line. But there’s a difference between “it’s too big to read” and “it’s growing faster than I can think.”
AI is cranking out iteration cycles so fast that the implementation details start drifting away from the architecture. A few years ago I still felt like I could mentally keep the whole system together. Now it feels more like trying to keep up with a moving target.
shizzy0@reddit
AI means never having to say, “I understand.”
rix0r@reddit
after 16 years I still barely understand my work's codebase because it's so mind numbingly huge. AI helps me the most when I have to delve into some corner I hadn't seen before or in a long time. my home project I code myself but definitely get help from AI all the time. I still understand it (I think!) after 5 years
DoppelFrog@reddit
There's an old truism in computer science that states "Any system will grow in complexity until exceeds the capabilities of its maintainers."
Congrtaulations!
Medium_Support_5010@reddit (OP)
Thanks! It really feels like AI compressed 10 years of complexity growth into 12 months. The scary part is hitting that wall as a solo developer.
stonerism@reddit
Tread cautiously as a solo developer. It will take shortcuts and bs you so that they can make something that only works at asurface level.
jrdnmdhl@reddit
Once you get to a given size you don’t understand the whole codebase, or at least not all at the same time.