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
Show all comments
Showing thread 15 of 238
Try it, you might like it. First month's free and you can still quit if it's not for you.
You trust the label. The person. The company. You hope someone did their due diligence.
Sometimes taste the shell. That is an acceptable risk.
(made a small edit)
The latter look very promising for agentic coding. The former isn't quite there yet. We'll see, but I'd suggest the prior is moderately to strongly predicting that agentic coding is not a mania, but is very much here to stay.
(Obviously still the unpopular opinion here, mind you, and I may be wrong.)
Continue this thread — 1 reply
To me it's the memetic dynamic. There's "Old Wisdom". It's entrenched over a few generations now (and maybe some of it comes from before computers). "Old Wisdom" would have never allowed people to seriously start shipping code that they don't even understand. "Old Wisdom" has in fact prepared us for every possible "shiny new thing". That stubbornness was actually a good thing and held things together.
But now "shiny new thing" is so shiny that people convince themselves that it's actually okay. But they have to break the "Old Wisdom" in others. And this stubbornness (again, a good thing) is now rebranded as "being stuck in the old ways". You don't want to be stuck in the old ways, do you? So rather than coming up with real arguments, they're gaslighting people out of their defensive "be prepared for the shiny new thing" posture.
Once a person has been gaslit out of it, it's their turn to gaslight the next people. Pretty soon anyone who is holding back is the weird one. "I guess this is the new thing now?". This rolling effect is what I describe as a mania.
On the flip side, maybe it really is okay and it'll become the "New Wisdom" soon. This is probably also how things change. I still don't care for it because it's very disrespectful to people who have held their ground for good until the point where it's no longer useful. They've believed in something that wasn't actually true, it just temporarily served some greater purpose.
I picked up on a similar dynamic in radical politics when principled adherents are suddenly gaslit as "idealistic" by "practical" people, after they're no longer useful to them (they already won the election, etc).