Ask HN: How to deal with shipping AI-written code you don't understand?
630 pointshttps://www.linkedin.com/posts/ali-hamie_im-an-engineer-at-m...
> I'm an engineer at Meta and I never felt this uncomfortable doing my job. I'm writing code these days and it all feels like a black box. This new standard of shipping with AI is moving so fast that if we're going to spend our time checking each line of code, it's going to take forever. That means you can end up with systems you've built where you don't truly understand how all the code works. You understand the high level, but not every detail. And maybe this is becoming the new standard. It goes against every instinct of being a software engineer. I'm used to understanding what I'm building. Now I'm trying to figure out how much I need to understand before I'm comfortable moving forward. Are other engineers feeling this too?
How are you handling this?
Comments (767) 238 threads
Earlier commentsIn the last few years we've shifted into building more things in-house. It's awesome and we can solve even more specific needs for the organization. But the situation with understanding just enough does not really change. We just don't have time to dig into every line of code like you say.
Slowly build understanding of what is possible, push back on engineers suggestions and don’t approve stuff blindly, but relying on results to guide them not the implementation.
It is very very similar feeling. -you need to know your models and harnesses (e.g. your … team). You don’t need to know the specifics of the code but doublecheck with different personalities if the assumptions are correct, test them.
And ultimately shipping bugs is a given , human engineers do it _constantly_ it’s the resilience systems you build around that which saves you, tests, canaries, rollbacks, feature flags, everything we already know how to do - just use that and imagine yourself the product owner.
In this setup you also won't be able to keep up with every detail in the code, and you're awareness would be one level of abstraction higher.
When it comes to your own personal/career interests, the only problem with this setup is that you depend on someone else to deal with the code on a level you don't have control or awareness of.
Now in my view all engineers using coding agents have turned into team leads who are able to deliver more by giving up some level of awareness, only instead of humans we manage agents.
All comments shown.
Couldn't load more comments. Check your connection and try again.