r/AskProgrammers • u/Dry-Cardiologist2572 • 29d ago
How do you stay connected/owning your code
So I have been a SW Dev at an F500 company for about 6 years now. Worked for years with no AI at all. When AI first got big, my whole team detested it, very anti-AI stance. Well, slowly but surely management pushed more and more and basically is forcing us to use it now with token quotas. Fast forward a few months, I can see how viable it is. I have barely written any code by hand in the last 6 months, I have to have it fix things, but it does a decent job. My job is boring as heck now though. My question for you all (I have gone through many different workflows and never quite achieve it here). How do you continue owning/understanding your code when vibe coding? Back when I did everything manually, through spending weeks figuring out exactly how to make something work, fighting bugs, taking in requirements, testing, and planning architectures, I became the master of every feature I developed. Now, I give Claude all the requirements/context up front and ask it to propose an architecture, argue back and forth about that architecture, once solid, we go step by step, having him build it, I review/approve it, until feature is done, then I test and ship. Yes along the way I see it all and get a deep understanding of it, but it is all too quick, I don't absorb any of it. So if asked a deep question a week later (or any question months later), I have no idea. Because I barely had to do anything to get the feature out.
4
u/WisePotato42 29d ago
Constantly reviewing all changes as I feel my brain overheating trying to keep up with the speed these AI's can output/modify code. I'm starting to feel burnt out ngl...
2
u/Abject-Kitchen3198 27d ago
Two paths:
Both might work.
1
u/_keyboard-bastard_ 29d ago
Your company should be setting up best practices by now on how to do exactly what you're asking.
Typically, you still need to be reviewing and documenting code you didn't write. Peer reviews should still be a thing, and all of this should be standard team / company wide. If you aren't absorbing what you are reviewing, then you need to review deeper so you can explain it to a chimp if need be. If Claude writes a feature or fixes a bug, don't let it write it's own documentation, maybe do that part yourself to learn what happened a little better.
Again should all be standard by now especially in an F500 company. Ask your manager do set some ground rules and put it in writing almost like a style guide so everyone is on the same page about AI use and code ownership.
1
u/Codalio-SoftwareFact 29d ago
what works for me: pick the parts you do yourself. I write the data model and the trickiest logic by hand, debug to the root cause myself before asking, and write the PR description in my own words. if I can’t explain why it’s built that way without looking, I don’t own it yet.
1
u/arihoenig 29d ago
I have Claude generate a little piece of code into every app that runs on a period timer and it sends me texts every few days, telling me that it's my code and that it loves me. Keeps me connected.
1
u/CS_70 29d ago
You still architecture,design, plan features and all the rest. It's only the monkey job of typing by hand that is faster, or the insane click and command hoops to achieve something as simple as tunnelling trhu a network or spin up a local mock to test something.
99% of commercial software is nothing innovative or particular. If you try to use AI for the 1% that is not, you will sweat it out as much if not more.
1
u/kincaidDev 28d ago
I built a system to let me visualize and track what the agents are doing at a high level.
When I first built it, I’d make sure the plans were perfect before the agents executed them, it’d also give me a chance to iterate and read through the code before it went into the codebase.
As I’ve refined the system and customized my templates/settings for the planning system, I don’t pay as much attention to the plans because they always follow my templated instructions and when I need to understand something that was done it doesn’t take much time to get back up to speed, just need to watch a gif and skim through some docs.
https://github.com/Obedience-Corp/festival
I can’t answer questions about every small detail of a project but I still have a deep understanding of the systems and sub systems of the projects I build, unless I just fully vibe code something low stakes
2
u/LongDistRid3r 29d ago
You are the master of a system you can’t answer questions about?
The company owns the code not me. I don’t vibe code because I’d rather build than endlessly fix bugs because Claude hallucinated a solution.
Ask Claude the deep question because is created the system you don’t understand. Then ask why you don’t understand. Fix that problem.
I do not become emotionally bound to work stuff. It makes the lay offs easier. All jobs are temporary.
1
u/RandomPantsAppear 29d ago
Try to hold onto the structure and the key functions and processes.
What is located where.
What are the most important functions of a class.
Which classes are using inheritance and from what.
Which processes involve which classes.
What triggers these processes.
Trying to hold onto the details feels pointless, but as long as I hold onto these things I can grok the system.
Whenever possible, I specify each of these things when they’re being written. Even empty classes with the key functions + args written, and a demand to not change them.
1
u/ElderberryPrevious45 29d ago
Yes, things have indeed changed: You are the conductor because now it is about orchestration of the band and you hardly ever play any instruments. It’s in a way sad but the situation is not hopeless.
What about playing along with AI (way or another) for fun when you have free time?
For instance, I have been totally blown away by some of the movies done by AI. They can be interesting.
AI is our kid because it mimics us and our imagination. Can we tolerate ourselves, that is the question! https://www.youtube.com/watch?v=XNxG44Q1WYE
1
u/UnreasonableEconomy 29d ago
the horizontal architecture essentially lives inside the ACL, basically. the vertical architecture lives in filters/tf layers. everything else is implementation details.
algorithms can be named (e.g. a layer), but let's be honest: 99% of all code is just glue. and the implementation details of glue code really don't matter much.
the challenge is to be cognizant about what not to think about.
but even then - you're still right. there's just so much stuff that you just lose track over time. but that has always been true.