Top
Best
New

Posted by rzk 14 hours ago

Ask HN: How to deal with shipping AI-written code you don't understand?

I saw this LinkedIn post from a Meta engineer and it resonated with me:

https://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?

251 points | 396 commentspage 7
jorgeleo 6 hours ago|
Force to always use TTD, at least validate the tests.

Recommend reading (All though a little self serving): https://www.linkedin.com/pulse/ai-code-quality-jorge-varas-a...

sdevonoes 11 hours ago||
Product doesn’t care. And most of us will get replaced by agents. I guess around 30% of the engineering workforce will keep their jobs which will be mainly to keep the product up and running, doing whatever it takes (so using agents to fix stuff basically).

The ones who get to keep their jobs will be rebranded as Maintenance engineers with a lower salary. VPs and Heads of will keep their cozy job (bc there are not so many of them), and they are not that dumb to fire themselves.

Code understanding doesn’t matter anymore (or won’t matter soon)

realo 4 hours ago||
Maybe a related question:

How do you keep the IEC 62443-4-1 auditors happy?

pinscope_dev 13 hours ago||
I had same problem, but after a while I just accepted that is inevitable
polski-g 12 hours ago|
"This code is really ugly."

That sucks. Ship it.

ge96 5 hours ago||
My Jira tickets are written by AI started just feeding the ticket into AI (shrugs)

No I only do that for unit tests so far

I went through like a mid-life crisis when the thing I learned/spent last 13 years on became meaningless.

peterbower 4 hours ago||
I don't. I understand it, and if there's anything I don't, I ask it about it and research until I do.
gzurl 3 hours ago||
I went exactly through the same process. And that's why I developed agent-squad: https://github.com/gzurl/agent-squad

My conclusion was I had to elevate myself and make sure another agent reviews and tests the code (QA) under the supervision of a third agent (CTO) that defends my vision.

tkz1312 3 hours ago||
I only ship code I don't understand if it comes with a proof of correctness
_pdp_ 2 hours ago||
I will get downvoted for this comment on this forum but I will call it out.

You wont be able to review or understand code for much longer.

There will be just too much of it. The vastness of code libraries in 5 years are hard to imagine by today's standards.

We need to develop tools that help us understand.

bpavuk 3 hours ago|
I'd quit. and I did, even before getting my first job that was not an acquaintance's startup, not counting this summer. in fact, I got fired this summer for having called Claude Code "a decent search engine" afther the first two weeks. I fell in love with making code run fast on poor hardware back when I was 8, and now there is a high likelihood that I'll end up a truck driver.

my only response to those who remain and try to control the slop is

  Praise the Omnissiah!
and really, you should have an Imperium/Mechanicus-level devotion (whether it's to money or to AI itself) to survive this and not burn out. in my region, though, you are not getting money - salaries were slashed in half across the board over last two years.

https://t.me/djinni_official/2163 (go in with translator; infographics are in English but explanations are not)

at this point, for a junior, it's easier to find a well-paying blue-collar job than to get into tech, and the ceiling is falling at the speed of sound.

More comments...