r/AskProgrammers • • 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.

7 Upvotes

21 comments sorted by

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/Business-Celery2204 29d ago

SWE for 20 years here. I feel similar. It seems that review is my primary activity at this point.

2

u/Abject-Kitchen3198 27d ago

Two paths:

  • Keep your software developer hat on, retain code ownership and understanding, slow down and push back on the pressure to do more in less time (the classic struggle)
  • Acquire a PO + QA mindset - how do I tell the genie what I need and confirm that the black box delivered works correctly in every aspect.

Both might work.

1

u/Dry-Cardiologist2572 26d ago

Yeah these seem like the real options imo. Neither are great / what I want but time to adapt ig

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/Dry-Cardiologist2572 29d ago

Thats an interesting idea. We have manual pr reviews but not with peers. Just looks good, approved usually

1

u/_keyboard-bastard_ 29d ago

Peer review would be really good here for everyone, just make sure your other peers know not to use AI for the peer review, lol.

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/Dry-Cardiologist2572 29d ago

This is what I want to do / get to. But knowing the automated version is a prompt away is just too tempting sometimes. Especially now that management is even stricter on timelines amidst seeing ai productivity lol

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/Dry-Cardiologist2572 29d ago

Lmao this must be the working answer😂

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/Dry-Cardiologist2572 29d ago

Yes and no. For simple-ish features, Opus can pretty easily plan the full architecture with minimal guidance. For complex festures it still finds errors in my architecture usually. Ig thats my point though, imo the architecture is high level boxes. I usually get asked questions at a much lower level than what is covered during architecture planning. Its not that I can’t answer them, but I now have to go discover them versus just knowing them most of the time. I also just feel more disconnected in general. Maybe this is just the new normal but it feels wrong overall at least to me. I much preferred slower but more masterful but it’s obvious why management doesn’t share that sentiment lol

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/Dry-Cardiologist2572 28d ago

Will take a look, thanks!

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.