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 commentsWith AI, now every software engineer gets to feel this way.
Phase 1 (mid 2025): Have AI write the simple stuff if you want, but hand-write the important core stuff.
Phase 2 (late 2025): OK, let AI write the important core stuff, too, but review every line of code.
Phase 3 (early 2026): Wow, AI is making virtually no mistakes, so only review the important core stuff that it writes.
Now (since mid 2026): If using newer models like Opus 5.5 or Astra, no need to review its code as long as the behavior is as expected. I'm no longer a software developer or coder, I'm a software creator.
Are you? Seems like the model was the thing doing the creating.
You always need to understand a bit of the past technological layer before saying your goodbyes to it and moving on to the next progress phase. That's life for a programmer.
Actually, it is quite similar to a /compact with a harness: you need to "sum up" you current knowledge (aka abstractions, design patterns, ...) from time to time to carry it along with you in your journey.
Like, it is not that I hate AI tools, I just hate how most people are using them...
I can't imagine going to punch cards to, well, anything would feel anything but great. But going from assembly to C I can see how a programmer could struggle with their coworkers not checking the outputted CPU instructions for performance problems and compiler optimizations that generate unintelligible assembly.
But even then all those changes were deterministic (at least to the compiler version), unlike AI.
All comments shown.
Couldn't load more comments. Check your connection and try again.