News for hackers. Stuff that matters.
Re:I'm going back to writing code by hand by raincole on Monday May 11, 2026 @09:23AM (#48094681)
The "people" in your hypothetical story have been wrong the whole time. The correct attitude is:

When AI can complete lines, you still have to read and understand the code.

When AI can complete whole functions, you still have to read and understand the code.

When AI can complete features and tickets, you still have to read and understand the code.

Re:I'm going back to writing code by hand by brightball on Monday May 11, 2026 @11:01AM (#48095931)
I heard a talk from a VP at NVIDIA a couple of months ago and he echoed this. Essentially their policy is "you are still fully responsible for the code you ship, whether AI helps with it or not"
Re:I'm going back to writing code by hand by rwmj on Monday May 11, 2026 @11:27AM (#48096288)
While also no doubt telling C-level that the AI can write code completely automatically.

The developers in this scenario are there to absorb the blame when things go wrong. "Human crumple-zones" to protect the company.

Re:I'm going back to writing code by hand by 9dev on Monday May 11, 2026 @12:05PM (#48096834)
Does anyone out there working with AI coding agents not have this policy?
Re:I'm going back to writing code by hand by AppleBananaPie on Monday May 11, 2026 @02:18PM (#48098627)
Not to be pedantic and apologies if this is what you meant but my experience has been enforcement of that policy being the problem.

Will be interesting to see if / when enforcement happens given management is currently being pushed to encourage AI use

Re:I'm going back to writing code by hand by CivBase on Monday May 11, 2026 @03:45PM (#48099746)
Not at PocketOS. It's hard to believe they're the only ones.
Re:I'm going back to writing code by hand by sadengineer22 on Monday May 11, 2026 @04:14PM (#48100070)
Depends on what is meant by "fully responsible" I guess. At my company non-engineers push code to production where the only reviewer is frequently an LLM, if the code is broken they get an LLM to fix it. The human does not understand the code, they are not even trying to, this is pure vibe coding. We also have engineers who push code to production that they have not written, and not fully read, and has not been read by another human (at least not in detail).

I would say that counts as "not having that policy". Based on what management tells us, we are dead if we don't operate this way.

Re:I'm going back to writing code by hand by djhn on Monday May 11, 2026 @04:30PM (#48100263)
That is certifiably insane if that code touches anything that’s exposed to the internet or any PII. What kind of industries is those acceptable in?
Re:I'm going back to writing code by hand by senordevnyc on Monday May 11, 2026 @11:10AM (#48096062)
I think being responsible for the code is a better framing. I run a saas and I don’t always review all the code, but this thing supports my family, so I am acutely aware that I’m responsible for what it does. My customers aren’t going to let me blame the agent for fucking up their workflows.

But that still doesn’t mean I review all the code. I tend to review defensively, based on the potential for harm if this piece of code is broken. And I rely a lot on tests, static analysis, canaries, analytics, health checks, etc. to reduce risk for when I’m wrong. So far it’s working.

Re:I'm going back to writing code by hand by cynicalpeace on Monday May 11, 2026 @12:46PM (#48097408)
Culpability is and always will be the limiting factor in AI adoption.

As humans, we need another human to blame when things go wrong.

Especially in situations that are catastrophic when things go wrong.

Re:I'm going back to writing code by hand by aeciorc on Monday May 11, 2026 @04:44PM (#48100421)
this is a good policy, as long as the productivity expectations match it. The problem happens when you combine "you're responsible for what you ship" with "you need to be 100x faster"
Re:I'm going back to writing code by hand by herdcall on Monday May 11, 2026 @09:46AM (#48094952)
I'm no longer sure you have to, actually. I mean, we do trust the assembly that compilers produce without having to read it, don't we? We're rapidly getting to that stage with LLMs, IMO.
Re:I'm going back to writing code by hand by bigfishrunning on Monday May 11, 2026 @09:48AM (#48094965)
The assembly is a deterministic transform of the input logic, and if it doesn't match then it's a bug in the compiler. If an LLM-based code generator doesn't match what you asked for, that's OK, just pull the slot-machine handle again. that's the difference.
Re:I'm going back to writing code by hand by james_marks on Monday May 11, 2026 @10:06AM (#48095202)
The "pull the slot-machine handle again" is the dangerous thing here.

I can feel it sometimes, as my brain shuts down and I gamble instead of thinking. It's a reversion to what I call "monkey mind" where you just keep pressing buttons to "make it work". I took a decade training my mind away from this, and too much AI is bringing it back.

Re:I'm going back to writing code by hand by bigfishrunning on Tuesday May 12, 2026 @07:59AM (#48107003)
The issue here is not just the gambling aspect, but verification that you got what you asked for. Code problems can be extremely subtle, and the cost of verification is deceptively high, ruining the advantages of using AI in the first place.

I truly believe that people claiming huge productivity gains from AI are either terribly slow programmers or are skipping their due diligence. Many "vibe coders" are incapable of checking the output of the code.

Re:I'm going back to writing code by hand by Xunjin on Monday May 11, 2026 @10:01AM (#48095150)
Thank you for this, people often miss the point, comparing apples with oranges.
Re:I'm going back to writing code by hand by TremendousJudge on Monday May 11, 2026 @10:09AM (#48095242)
If they were equivalent, people would be committing the prompts and not the code
Re:I'm going back to writing code by hand by AnimalMuppet on Monday May 11, 2026 @10:23AM (#48095403)
And then getting bugs when they use a new version of the AI, just like people occasionally got bugs when they upgraded to new versions of the compiler...
Re:I'm going back to writing code by hand by snowe2010 on Monday May 11, 2026 @01:49PM (#48098212)
they would get bugs on every invocation of the software, not on a new version of the AI. it's equivalent to your compiler have a RAND function in it where it chooses between a billion different options every time it compiles, it's absolutely not equivalent to a compiler having a bug.
Re:I'm going back to writing code by hand by hunterpayne on Monday May 11, 2026 @02:12PM (#48098536)
Compilers are deterministic, LLMs are not. Big difference...
Re:I'm going back to writing code by hand by estearum on Monday May 11, 2026 @10:00AM (#48095137)
For now, but obviously they're becoming (effectively) more and more similar to the former every day.
Re:I'm going back to writing code by hand by tuetuopay on Monday May 11, 2026 @01:47PM (#48098185)
They’re not, and will never be in their current form and architecture.

Compilers are mechanical and engineered to produce a correct output. A compiler emitting incorrect machine code is exceedingly rare, and considered a bug. They have heuristics and probabilities in them, but those are to pick between a set of known-good outputs.

An AI is a bag of weights outputting a probability of the most plausible token that follows [1]. It is inherently probabilistic in nature and its output is organic (by design, they’re designed to mimic human speech), as opposed to mechanical like a compiler.

A compiler follows hard rules. An AI does its best.

And to be fair, AIs are no better than human in this regard: humans are pretty bad at generating correct code without mechanical tools to keep them in line (compilers, linters, formatters). It’s not a wonder we use the same tools to keep LLM output in line as we do humans. (And, to be fair, LLMs are better than humans at oneshotting valid code).

[1]: to those that tell me this vision of an LLM is outdated: nope. The heavy lifting is done in the probability generation. Debates about understanding are not relevant here, and the net output of an LLM is a probability vector over raw tokens. This basic description can be contrasted to a compiler whose output is a glorified Jinja template.

Re:I'm going back to writing code by hand by estearum on Monday May 11, 2026 @02:30PM (#48098796)
Question: What do you think the word "effectively" means in the comment above?
Re:I'm going back to writing code by hand by wsve on Monday May 11, 2026 @03:19PM (#48099457)
Not OP, but it means nothing, because it's not "effectively" becoming a compiler.

Think about it from an information theory standpoint:

A compiler takes at least the exact amount of information it needs to produce a result, and produces exactly that result every time (unless it's bad at its job or has a bug).

An LLM always takes far less information than would actually be needed to fully describe the desired output, and extrapolates from that. It fetches contexts and such to give itself a glut of assumedly relevant information, but the prompt always contains less information than necessary to produce the code it generates. If it did fully contain enough information, then you've just written a far more verbose version of the program in human language.

Re:I'm going back to writing code by hand by estearum on Monday May 11, 2026 @04:37PM (#48100349)
You're rebutting a comment that says something like: "LLMs are literally becoming compilers"

No one said that

Re:I'm going back to writing code by hand by tuetuopay on Monday May 11, 2026 @03:24PM (#48099507)
I interpret it as "in practice", "now". Non-native English speaker here, so I may have missed your meaning.

If you meant they’re now better at mimicking compilers, sure, but they’re only mimicks.

Re:I'm going back to writing code by hand by estearum on Monday May 11, 2026 @04:40PM (#48100377)
Yes, I am saying there's no functional difference (for practical purposes) between a deterministic transformation like a compiler and a perfect probabilistic transformation like an LLM.

We do not have "perfect" probabilistic transformation, and we probably never will (in part because it's hard to know what exactly that even means), but the gap between the two is shrinking every day.

Ergo:

> they're becoming (effectively) more and more similar every day.

Re:I'm going back to writing code by hand by gregsadetsky on Monday May 11, 2026 @09:56AM (#48095084)
I know it’s tiring to talk about “hallucination”, but truly, models still do hallucinate

They constantly say they did a thing they didn’t, say they know how to solve something when they don’t, etc. Regardless of guard rails or tests - AI forces a constant vigilance of a new kind.

Not just “what might have gone wrong” but also “what do I think is working but isn’t actually”.

And we’re not even talking about how it chooses substandard solutions, is happy to muddy code/architectures, add spaghetti on top of spaghetti etc.

Agentic coding often feels like an army of unexperienced developers who are also incredibly eager to please.

Re:I'm going back to writing code by hand by Zardoz84 on Monday May 11, 2026 @10:11AM (#48095272)
"still" isn ghecorrect word. They always be having hallucinations
Re:I'm going back to writing code by hand by AnimalMuppet on Monday May 11, 2026 @10:26AM (#48095445)
"Still" means "it always had hallucinations, and it still does, despite people thinking that it doesn't anymore". People think we've moved past that. We haven't.
Re:I'm going back to writing code by hand by hunterpayne on Monday May 11, 2026 @02:13PM (#48098555)
Hallucinations are baked into the design, you can't make a LLM that doesn't have them.
Re:I'm going back to writing code by hand by bayindirh on Monday May 11, 2026 @10:06AM (#48095209)
> we do trust the assembly that compilers produce without having to read it

Yes, because wrong assembly blows really loudly. From wrong behavior to invalid instruction errors and everything between them. Moreover, compilers are battle tested over the years, with extremely detailed test suites, and extreme testing (everyday, hundreds of thousands users test and verify them).

Also, as people said, assembly generation is deterministic. For a given source file and set of flags, you get the same thing out. Byte by byte, bit by bit. This is what we call "reproducible builds".

AI is not like that. It's randomized on purpose, it pulls from training set which contains imperfect, non-ideal code. "Yeah, it works whatever", doesn't cut it when you pull a whole function out of its connections, formed by the training data. It can and will make errors, because it's randomized from a non-ideal pool.

Next, sometimes you need tight code. Fitting into caches, running at absolute performance limit of the processor or system you have. AI is not a good fit here. Sometimes you go so far that you optimize for the architecture at hand, and it works slower on newer systems, so you need to re-optimize that thing.

For anyone who reads and murmurs "but AI can optimize", yes, by calling specific optimization routines written by real talented people for some cases; by removing their name, licenses, and context around them. This is called plagiarism in its mildest form and will get you in hot water in academia, for example. Writing closed source software doesn't make you immune from cheating and doing unethical things.

Lastly, this still rings in my ears, and I understood it over and over as I worked with more high performance, correctness critical code:

I was taking an exam, there's this tracing question. I raise my head and ask my professor: "Why do I need to trace this? Compiler is made to do this for me". The answer was simple yet deep: "If you can't trace that code, the compiler can't trace it either".

As I said, I just said "huh" at the time, but the saying came back and when I understood it fully, it was like being shocked by a Tesla coil.

Get your sleep, eat your veggies and understand your code. That's the four essential things you need to do.

Re:I'm going back to writing code by hand by SpaceNoodled on Monday May 11, 2026 @10:29AM (#48095487)
I've actually taken to double-checking the assembly in some instances. There are surprising times that the compiler won't make the shortcuts and optimizations you thought it should, and I also used this method to call out an unsuitable compiler since I caught it spitting out some ridiculous 10x-long set of instructions in certain critical instances.
Re:I'm going back to writing code by hand by amw-zero on Monday May 11, 2026 @10:06AM (#48095214)
This is a really, really, really bad comparison. I used to say the same thing. But the semantic distance between compiling a for loop to equivalent assembly instructions is much smaller than the distance between "I'd like a web application that can store and retrieve todo items." The space of the latter is practically infinite in what can be "compiled."
Re:I'm going back to writing code by hand by _verandaguy on Monday May 11, 2026 @02:48PM (#48099067)
A counterpoint, since I never made that logical jump in your latter part of your comment: programming languages are, functionally, all domain-specific languages and do a good job of either describing directly, or consistently, deterministically, providing a reasonable and unambiguous abstraction over low-level concepts expressed by assembly languages.

Human languages are mostly very bad at this, and in particular bad at mapping low-level abstraction to the human written word unambiguously in a way that is as expressive as programming languages.

Inference closes that specific gap significantly (which is why anyone at all sees LLMs as a useful option to explore), but it will never be as good as a purpose-built language designed to map to a reasonable corresponding assembly language implementation.

Re:I'm going back to writing code by hand by yakattak on Monday May 11, 2026 @10:01AM (#48095143)
I want to preface this with that I am all for agentic engineering.

I am so tired of hearing about this false equivalency. Compilers are deterministic, their outputs are well understood and they’re transparent.

LLMs are not.

Re:I'm going back to writing code by hand by aprilthird2021 on Monday May 11, 2026 @09:48AM (#48094971)
We are not rapidly getting to that stage with LLMs and frankly it's hilarious that you are claiming so.

For anything other than Greenfield, new code projcets without dependencies and conventions and connections to other proprietary code, it has to be reviewed. Even for that case it's not good to not review code

Re:I'm going back to writing code by hand by eska on Monday May 11, 2026 @01:38PM (#48098058)
We don’t. That’s why tools like godbolt are popular, debuggers can jump into assembly, and compilers can output assembly files.
Re:I'm going back to writing code by hand by jstummbillig on Monday May 11, 2026 @09:40AM (#48094880)
Not at all. Code is not important, intent is. The leader of a product/company does not have to read code. It doesn't matter if it is generated by humans or non-humans. It simply needs to be correct enough to be usable and then steerable towards better outcomes. Understanding of code never existed from the business perspective.
Re:I'm going back to writing code by hand by throwaway173738 on Monday May 11, 2026 @09:42AM (#48094900)
It does in safety critical industries. You can get grilled by regulators about your source code. And lawyers will use it as evidence in court.
Re:I'm going back to writing code by hand by contagiousflow on Monday May 11, 2026 @11:57AM (#48096732)
Can you think of a good way to encode intent into a system?
Re:I'm going back to writing code by hand by raincole on Monday May 11, 2026 @10:40AM (#48095631)
> The leader of a product/company does not have to read code.

Yeah, because they believe (sometimes wrongly) their subordinates read it.

> Understanding of code never existed from the business perspective.

It does, it's called organizational wisdom and domain knowledge, because you need those witty names to sell books to aspiring managers.

Re:I'm going back to writing code by hand by roncesvalles on Monday May 11, 2026 @03:32PM (#48099603)
The code codifies the intent and is the long-term source of truth for how your business actually operates.

>The leader of a product/company does not have to read code.

That's because he's paid a bunch of people 300k to read it and make sure it aligns with the company's objectives and interests. Part of the reason why devs are paid so much is because they're literal business administrators for some narrow slice of the company's operations. The devs are the leaders that you're referring to.

Even in multi-hundred-billion-dollar companies there are so many mission critical things that are owned by just 2 SWEs.

Re:I'm going back to writing code by hand by globnomulous on Monday May 11, 2026 @01:50PM (#48098226)
Precisely. And this is why all the MCP servers that people at my company are writing aren't worth using: their apparent goal is automate as much as possible. They're encouraging people not to pay attention. This results in bad code, bad tests, and bugs.
Re:I'm going back to writing code by hand by ventana on Monday May 11, 2026 @03:43PM (#48099723)
> you still have to read and understand the code

Which is a very similar approach to any serious code. If you just hired a very clever, enormously knowledgeable intern, and they wrote a bunch of code for you overnight, you would probably review it.

Yes, in some cases, either hobby projects or throwaway code, you could just take it and use it as is, and I surely do, for the code no one cares about. But at work, I would rather review it.