News for hackers. Stuff that matters.
Re:Why Write Code in 2026 by mrweasel on Sunday July 12, 2026 @03:15PM (#48883718)
Apparently it's not obvious to everyone, but if you can't write code, you can't review it. I do know people, and companies, that says: "So what, we ask Claude to write the code, Codex will then do the review". The thing that then strikes me as odd is that they still ask for the code in Python, Java, or some other high level language.... Why? Just ask Claude to dump out assembly, or a compiled binary, but no, they don't trust the LLM that much. They still want to be able to read the code. So they need developers that can read, debug and reason about the code, yet they don't want to give them the training that's required to do this?
Re:Why Write Code in 2026 by softwaredoug on Sunday July 12, 2026 @04:13PM (#48884295)
I’m finding it all boils down to cognitive differences.

Some people find code easier to read than the English description. It’s more precise and many experienced devs can scan it and know what’s happening

Many other people can’t read code. Or they find English easier to read than code.

Thats not a knock on anyone. Maybe the latter will rule the world because the former focuses too much on irrelevant details. Or maybe me there are just different types of problems that need differing levels of attention to detail.

Re:Why Write Code in 2026 by rawling on Sunday July 12, 2026 @05:06PM (#48884799)
Sure, read the English description.

How can you be sure that's what the code the LLM wrote actually does?

Re:Why Write Code in 2026 by dgroshev on Sunday July 12, 2026 @07:36PM (#48885988)
Some heart surgeons might only be able to explain to the nurses their ideas on how to carry out the surgery, but are they still heart surgeons?
Re:Why Write Code in 2026 by pythonplayer123 on Monday July 13, 2026 @04:10AM (#48889391)
I wonder how LLMs could be compared to compilers. I personally think the nondeterministic behavior of LLMs are the biggest distinguisher.
Re:Why Write Code in 2026 by t43562 on Monday July 13, 2026 @08:30AM (#48891701)
The code tells you HOW, the English should be telling you WHY. Both are usually needed IMO. Even a tiny bit of "why" can be extremely helpful to understanding in my experience. I don't want generated AI garbage that merely describes the code - I want the reason the whole thing exists and what was wanted by the person who wrote it.
Re:Why Write Code in 2026 by embedding-shape on Monday July 13, 2026 @12:01PM (#48894701)
AKA "Direction", which obviously the LLMs follows, and suck at coming up with by themselves. Humans though, when they have purposeful direction and manages to execute it, ends up creating a (small) beautiful life-changing revolution almost.
Re:Why Write Code in 2026 by ryandvm on Sunday July 12, 2026 @03:27PM (#48883829)
They don't have Claude write assembly because there is no training corpus on people making CRUD apps in assembly.

I'm as hateful of LLMs hollowing out the job market as the next guy, but the reality is the frontier LLMs are really good at writing anything that's been done and documented on the Internet a million times and unfortunately most of what software devs have been doing the last couple decades is shitting out cookie cutter CRUD apps.

I have my doubts about whether the state of the industry is going to advance as long as we're having LLMs do all the creation, but that's another diatribe.

Re:Why Write Code in 2026 by lp4v4n on Sunday July 12, 2026 @04:08PM (#48884236)
>They don't have Claude write assembly because there is no training corpus on people making CRUD apps in assembly.

I'm disputing this. You can have a training corpus in assembly as big as any other language: just feed the compiled result(in assembly) of the CRUD apps to the LLMs.

Re:Why Write Code in 2026 by cactusplant7374 on Sunday July 12, 2026 @04:14PM (#48884311)
It's still possible to make CRUD apps in assembly with an AI agent but it would be a research project.
Re:Why Write Code in 2026 by Zambyte on Sunday July 12, 2026 @04:57PM (#48884716)
By "research project" you you mean by people who understand assembly? Because then we're back to where we started.
Re:Why Write Code in 2026 by cactusplant7374 on Monday July 13, 2026 @10:13AM (#48893063)
I mean for the agent. They are good enough to conduct research now.
Re:Why Write Code in 2026 by deadbabe on Sunday July 12, 2026 @03:45PM (#48884010)
What's there to advance to?

Without a revolutionary new platform to build apps on that no one has ever developed for before, there is basically no reason to believe there is any software left that has some business or economic value that hasn't already been written.

Re:Why Write Code in 2026 by nektro on Sunday July 12, 2026 @04:10PM (#48884252)
that you don't see this as inevitable worries me dearly
Re:Why Write Code in 2026 by devin on Sunday July 12, 2026 @03:56PM (#48884123)
If you think we're "done", you have no imagination.
Re:Why Write Code in 2026 by deadbabe on Sunday July 12, 2026 @05:05PM (#48884791)
What are you gonna make? Yet another CRUD app? An API subscription? A game? A mobile app?

We’ve created software for virtually every place we can put software. There’s nothing new.

It’s like bridges. We’ve seen all the ways bridges can be built by now. There’s nothing new left to discover.

Re:Why Write Code in 2026 by LPisGood on Sunday July 12, 2026 @05:30PM (#48885021)
When Gutenberg invented the printing press, he could not have predicted the teleprompter. Now that code is easy to generate, it’s plausible that we will use much, much more of it than before.

It’s also a bit ironic to imagine that we’re at the end of new software ideas on a site owned(?) by YC.

Re:Why Write Code in 2026 by deadbabe on Sunday July 12, 2026 @06:08PM (#48885324)
it's also plausible that with an ability to generate as much code as we want with little effort, we will quickly discover how much code we actually need, and then plateau at that point.

Personally, I think we've already reached that point.

Even at YC, I have not really seen any startup doing anything interesting where their main value prop is enabled by new proprietary code that does stuff no one else can already do.

Re:Why Write Code in 2026 by walt_grata on Sunday July 12, 2026 @07:34PM (#48885978)
We have more code than we need. Proof for me is every "smart" device that worked better before we put a computer in it.
Re:Why Write Code in 2026 by deadbabe on Sunday July 12, 2026 @10:17PM (#48887066)
Exactly, this is the true problem with the world today: too much code.
Re:Why Write Code in 2026 by dsego on Monday July 13, 2026 @09:45AM (#48892599)
Are teleprompters a net positive achievement? They were needed for live television, they will be superseded I guess by AI generated news avatars. And 24-hour news coverage is in the business of generating content non-stop, to sell advertisements, regardless if there are newsworthy events or not, the machine never stops producing.
Re:Why Write Code in 2026 by erikschoster on Sunday July 12, 2026 @06:06PM (#48885306)
> There’s nothing new left to discover.

It's the end of history. What could we possibly discover about a series of technologies that are already nearly 100 years old now?

I've heard people say that various things are "solved" now because of LLMs too -- programming included. This implies we've "solved" thinking. I'm worried about these sentiments.

https://en.wikipedia.org/wiki/End_of_history

Re:Why Write Code in 2026 by whattheheckheck on Sunday July 12, 2026 @05:25PM (#48884970)
Why did we even need bridges in the first place
Re:Why Write Code in 2026 by galaxyLogic on Monday July 13, 2026 @03:34AM (#48889135)
Mature tech evolves more slowly. Think about cars, there's nothing new about them any more. But wait, what about electic cars? Aren't they a new thing? And driverless cars. And soon flying taxis. Automobiles are an old invention but they are still evolving.
Re:Why Write Code in 2026 by aleph_minus_one on Monday July 13, 2026 @03:43AM (#48889198)
The reason the evolution of cars has slowed down so much is mostly regulatory compliance.

With the current ongoing revolution in home manufacturing (starting with 3D printing; currently there is a lot of work done in home CNC machining), it would be easily possible to get a huge leap towards "print your own car".

The reason why you see nothing of this is basically red tape.

Re:Why Write Code in 2026 by kbelder on Monday July 13, 2026 @06:03PM (#48899519)
Well, a short time ago somebody made the first LLM. Was that the end of it?
Re:Why Write Code in 2026 by ryandvm on Sunday July 12, 2026 @04:42PM (#48884579)
This gives "let's close the patent office"
Re:Why Write Code in 2026 by aleph_minus_one on Monday July 13, 2026 @03:40AM (#48889173)
> This gives "let's close the patent office"

This is a really good idea for completely different reasons. :-)

Re:Why Write Code in 2026 by asdff on Monday July 13, 2026 @01:52AM (#48888420)
This is probably true in the consumer facing software space. But in business, industry, and academia, often there are novel data generated by some new or refined process. And this needs new software that correctly handles both the nature of these new data and meet the goals the data is collected to advance. This sort of software is also usually poorly represented in training sets, if represented at all.
Re:Why Write Code in 2026 by bryanrasmussen on Monday July 13, 2026 @02:42AM (#48888769)
this implies that the only thing that can change what needs doing are technology platforms, which about 6000 years of human civilization would indicate is not the case.
Re:Why Write Code in 2026 by dehrmann on Sunday July 12, 2026 @04:51PM (#48884659)
> They don't have Claude write assembly because there is no training corpus on people making CRUD apps in assembly.

I suspect that despite its translation abilities, this is true, but I'd like to see it do things in languages that are more or less appropriate for tasks to see how much the training corpus matters vs. its ability to translate. Assembly is a bit of an extreme example because you're either writing it as close to C as possible (C is essentially portable assembly) or you're writing complex, unreviewable code that happens to work. And who know if it's been trained on register allocation, or resorts to doing everything on the stack because it works.

Re:Why Write Code in 2026 by LtWorf on Sunday July 12, 2026 @07:15PM (#48885857)
> C is essentially portable assembly

Not really, assembly shows you what the machine instructions actually are. In C you have loops, functions structs. All things that make no sense in assembly.

Re:Why Write Code in 2026 by hresvelgr on Sunday July 12, 2026 @07:45PM (#48886067)
Both points are specious. C disassembly is usually not an orthogonal translation of the structures in the code, usually due to optimisation.

> In C you have loops, functions structs. All things that make no sense in assembly.

One can reasonably infer that a loop will roughly translate to some type of conditional jump instruction. Function structs are just pointers and call instructions. The former point was that there is little runtime getting in the way of how the constructs could be expressed, and a long time ago it may have been the truth, but not for modern compilers.

Re:Why Write Code in 2026 by gnabgib on Sunday July 12, 2026 @07:31PM (#48885951)
Loops (conditional JMPS - JE/JNE/JZ/JNZ/JB/JNB.. and a dozen others) and functions (CALL, RET) exist in assembly. Goto is there too (all JMPs). C makes assembly sense.
Re:Why Write Code in 2026 by fragmede on Sunday July 12, 2026 @11:37PM (#48887589)
Oh that's an interesting thought. Goto's are considered harmful, because holy hell as a human trying to understand and reason about code, the spaghettifcation if someone else used gotos all over the place and I have to reconstruct their thought process just doesn't sound like fun. But if we're no longer writing code by hand (which, I gotta be honest, I'm using AI to write a lot of code for me these days), then does that still matter? If a human isn't going to have to understand the code, can we get more performance out of existing systems by considering goto's useful?
Re:Why Write Code in 2026 by dehrmann on Sunday July 12, 2026 @11:57PM (#48887724)
Compilers only really use them for things like break and the end if blocks. There isn't much to gain by being able to execute anything arbitrarily, and then go...where? There might be places here and there within a function where compilers already take advantage of it, but I doubt it's useful in the way you think.
Re:Why Write Code in 2026 by LtWorf on Monday July 13, 2026 @05:46PM (#48899346)
in C it's quite normal to set a return code and jump to a cleanup section where all the buffers are freed, all the files closed and so on.
Re:Why Write Code in 2026 by galaxyLogic on Monday July 13, 2026 @03:25AM (#48889077)
I assume there's a clear technical reason why GOTO is harmful, it adds to the complexity of the code, makes it harder to understand and fix and evolve. Wouldn't the same difficulties affect the LLMs ability to understand and fix and evolve the code as well?
Re:Why Write Code in 2026 by fragmede on Monday July 13, 2026 @08:02PM (#48900619)
As a human with a human level of working memory, the number of things I can keep in my head and map to concepts and functions is unfortunately limited. An AI running on an Nvidia supercomputer has higher limitations on what it can hold in its working memory, so could theoretically handle more than my human brain can.
Re:Why Write Code in 2026 by LtWorf on Tuesday July 14, 2026 @02:19AM (#48902908)
But it won't because it's a language model no an artificial intelligence.
Re:Why Write Code in 2026 by t43562 on Monday July 13, 2026 @08:22AM (#48891613)
goto is already useful as an end-of-function cleanup. You pop one at the end of each function (the naming is local to the function) and that's the place where you free ram if the pointer's not null and close the file if the handle is not null and so on.

Then you don't have to litter all of your if/else clauses with hundreds of memory frees and cleanups - you just "goto"

The fact that this is controversial to some people just shows how rules like "Dont use goto" become stupid - if one is trying to make code simpler then there are cases were not using it is the more confusing and error prone choice.

As for "can we now do anything" well if you don't ever need to debug "anything" then yes and if you have any small doubts about your LLM then no.

Re:Why Write Code in 2026 by ekidd on Sunday July 12, 2026 @05:10PM (#48884828)
Claude is perfectly capable of writing assembly. Here's a working (basic) Prolog interpreter that Claude Fable 5 wrote in WebAssembly in 61 minutes for $16.75 in token costs: https://github.com/emk/fable-wasm-prolog/blob/main/prolog.wa...

WebAssembly is slightly easier than real assembly, but here Fable used WASM GC extensions, which are poorly documented and not yet super common.

Fable didn't even need to debug it; I believe essentially all the assembly worked correctly on the first try.

I have feelings about this, but I'm not pretending it isn't real.

Re:Why Write Code in 2026 by viccis on Sunday July 12, 2026 @06:10PM (#48885356)
Yeah I had it remake my favorite TI-89 graphing calculator game in Python and it one shotted it perfectly.
Re:Why Write Code in 2026 by dude250711 on Sunday July 12, 2026 @05:47PM (#48885150)
The guys with unlimited Fable/Mythos access are for some reason incapable of producing a flawless Claude Code app built entirely in native assemblies.
Re:Why Write Code in 2026 by bflesch on Sunday July 12, 2026 @06:46PM (#48885655)
They're so busy winning that they don't care about improving their own web apps ;)
Re:Why Write Code in 2026 by byzantinegene on Monday July 13, 2026 @12:13AM (#48887829)
they use React to render their TUI :)
Re:Why Write Code in 2026 by cpursley on Monday July 13, 2026 @03:56AM (#48889306)
You’re getting down voted, but it would really be nice if they rebuilt the thing in Rust or something like that. I’m just tired of these enormous JavaScript bundles pretending to be desktop apps. Especially when we need to squeeze as much juice as possible out of our machines.
Re:Why Write Code in 2026 by avador on Sunday July 12, 2026 @09:18PM (#48886708)
There’s a very real dichotomy at play here. Position 0: humans depend upon AI. Position 1: AIs depend upon humans.

At first blush, it seems achingly obvious that position 1 is true, whilst position 0 is a false play by con artists.

Well, at first blush I agree! But first blushes are notorious for being famous last words (blushes).

You see, we always knew that the tool shapes the hand. That is, as we use computational (discrete) devices, we ourselves become more computational, discrete.

But what we did not anticipate is that the tool would fool others as the ACTUAL HAND. I am so fooled. Daily.

My friends. Does technique encompass being? Answer me this!

Re:Why Write Code in 2026 by furyofantares on Sunday July 12, 2026 @09:29PM (#48886771)
I have a personal game framework that I have LLMs write games in, which is in AssemblyScript. AssemblyScript is certainly closer to TypeScript than it is to WebAssembly, but it's still this thing where the host shares some big chunk of memory with the script and you pick some memory locations to read and write as your means of exposing APIs, and there's not a lot of training data on games written in AssemblyScript and even less in my game framework specifically (none) - and the LLM does an excellent job.
Re:Why Write Code in 2026 by newaccountman2 on Monday July 13, 2026 @10:16AM (#48893092)
This is for games that run purely in the browser?
Re:Why Write Code in 2026 by furyofantares on Monday July 13, 2026 @10:19AM (#48893157)
No, I typically want to target either mobile or PC first - but I strongly want stuff to run well in the browser too, for early playtesting and for demos at the very least.
Re:Why Write Code in 2026 by overtomanu on Wednesday July 15, 2026 @01:03AM (#48916469)
I guess since fable has learnt deeply about 10+(maybe 100+) popular programming languages, it can just easily reason about the new 101st programming language.
Re:Why Write Code in 2026 by jimbokun on Monday July 13, 2026 @12:05AM (#48887773)
Just interesting to see Claude’s hourly rate is around $17.

Much cheaper than a human software engineer. But comparable to the wages for some human workers.

Re:Why Write Code in 2026 by marcus_holmes on Monday July 13, 2026 @12:19AM (#48887867)
And ofc the Chinese workers are a lot cheaper.
Re:Why Write Code in 2026 by wartywhoa23 on Monday July 13, 2026 @05:14AM (#48889865)
As soon as human software engineers are Ubered away from the field, the price will ramp up to that of a human software engineer or more, have no doubt.

ROI won't make itself up.

Re:Why Write Code in 2026 by voakbasda on Monday July 13, 2026 @09:16AM (#48892217)
It is hard to believe that no one sees this coming. I can’t imagine it will happen any other way.
Re:Why Write Code in 2026 by jimbokun on Monday July 13, 2026 @12:47PM (#48895336)
Then everyone just starts running open weight models locally.
Re:Why Write Code in 2026 by wartywhoa23 on Monday July 13, 2026 @02:06PM (#48896443)
Running it on RAM and GPUs which cost like a private jet plane, or have to be smuggled in like cocaine due to import/export tariffs or bans.
Re:Why Write Code in 2026 by lenkite on Wednesday July 15, 2026 @04:41AM (#48917963)
U.S. is actively considering restricting highly advanced "open-weights" models due to cybersecurity and national security concern.

Chinese models will be enlisted in NATS - the National Terrorism Advisory System.

Can't have the fat, rich big boys who give the campaign contributions fail.

Re:Why Write Code in 2026 by mycall on Monday July 13, 2026 @05:38PM (#48899264)
Let's hope open models will continue to improve and avoid the price ramping.
Re:Why Write Code in 2026 by danshipt on Monday July 13, 2026 @05:34AM (#48890050)
That’s around 28K EUR/year. I know some junior-mid engineers that earn that (and they are good) in southern Europe.
Re:Why Write Code in 2026 by jacomoRodriguez on Monday July 13, 2026 @05:43AM (#48890135)
But now human will produce the same amount of work in an hour - not even close...
Re:Why Write Code in 2026 by coderatlarge on Monday July 13, 2026 @08:55AM (#48891960)
claude helped me build a functional visual modem (using the cameras and microphones/speakers) for mac/iPhone in about a day and <100 prompts. i’ve worked on mobile apps once 10 years ago and have never built one from scratch. i've built a handful of UIs in 20 years on different platforms. my actual work was mostly in systems software. so it would have probably taken me weeks to months to build this from scratch. it would have cost substantial money to outsource this and iterate on ui and core algo as i did.

i've been curious about the feasibility of this concept for quite some time and now i have an actual example to study and measure and hack on, for a fraction of the cost of my pro sub. it wasn’t trivial, i doubt a non-swe could get it done in that time, but i'm a pretty happy customer overall.

Re:Why Write Code in 2026 by mgoetzke on Tuesday July 14, 2026 @04:20AM (#48903686)
I would assume a human would require multiple hours for the same output though
Re:Why Write Code in 2026 by dilyevsky on Monday July 13, 2026 @02:23AM (#48888617)
Which effort setting did you run this with?
Re:Why Write Code in 2026 by quantumHazer on Monday July 13, 2026 @05:21AM (#48889936)
> Fable didn't even need to debug it; I believe essentially all the assembly worked correctly on the first try.

so you don't know if it works properly or not

Re:Why Write Code in 2026 by soco on Monday July 13, 2026 @06:34AM (#48890573)
It's also conveniently forgetting that AI was trained on the whole internet, a corpus of code including every garbage solution in SO wrong answers or random junior blogs. I didn't see any claim AI could select "best practices" from their sources, so putting AI to correct another AI has high chances of statistically selecting the same wrong solution, because that was just a common thread in those old posts they used as reference.
Re:Why Write Code in 2026 by mattmanser on Monday July 13, 2026 @06:40AM (#48890632)
I think you're pretty wrong here, but I'm no expert so anyone who wants to correct me please do so.

As I understand it, there's post-training step that does exactly that, they get real developers to select good and bad code and help the AI figure that out. AFAIK it's the reason why Claude was able to leap-frog OpenAI in coding last year, they did this refinement step a lot better.

And now they've taught the older models this, they can use existing models to bootstrap the newer models without humans involved, and bring humans in to just assess the trickier stuff.

Re:Why Write Code in 2026 by soco on Monday July 13, 2026 @09:05AM (#48892084)
Claude's coding efficiency is largely due to their control plane governing the actual execution of the model - rules, evaluators and basically looping over results. Not related to the model training or fine tuning.
Re:Why Write Code in 2026 by mattmanser on Monday July 13, 2026 @12:30PM (#48895090)
The models were already much better before Claude Code came out, let's not rewrite history here.
Re:Why Write Code in 2026 by ekidd on Monday July 13, 2026 @10:36AM (#48893397)
Fable wrote a pretty decent test suite covering typical Prolog programs, including things with non-trivial execution patterns like "append" that do complex backtracking on multiple branches. And I've run a modest number of test queries by hand, trying a few things. It's entirely possible that there's a bug there somewhere. But it's better than I would have done on the first try, implementing a Prolog interpreter in assembly. And I've worked on actual production compilers a few times.

I am honestly not happy about the way that models can now just take what should have be a fun multi-weekend project and knock out in a couple of hours. But I'm not going to pretend that Fable is stupid, or that it did a bad job on any of the test projects I gave it. It struggles more on big, messy real-world code bases, absolutely.

Re:Why Write Code in 2026 by weinzierl on Monday July 13, 2026 @05:31AM (#48890028)
WebAssembly has as much to do with assembly as JavaScript has with Java. I highly doubt the "slightly easier" and my attempts with LLM's and assembly so far were largely disappointing, but I also think there is no compelling reason this has to be the case.
Re:Why Write Code in 2026 by ekidd on Monday July 13, 2026 @10:50AM (#48893612)
I have written assembly for about 5 different processors, including 65C02s, 680x0s, cute little DSP3210s that managed the CPU cache manually, utterly cursed TI320C40s, and (of course) a bit of Intel. WebAssembly is simpler than some of these architectures in some ways.

But it's not that much simpler. And once you add the WASM GC stuff, WebAssembly gets weird. It's a Harvard architecture with separate value memory, linear memory, GC memory and "tables", all accessible in completely different ways, with a weird mandatory type system (especially for the GC stuff). And the docs are often terrible. And yes, I've also written WebAssembly by hand.

So yes, I would, overall, classify WebAssembly as "slightly easier". But not dramatically so. And the training data for actually writing non-trivial things by hand isn't that great, not compared to something like Intel assembly.

(Don't talk to me about TI320C40 assembly. If Fable can one-shot a Prolog interpreter written using that without finding a reference manual, it's time to hang up my hat and learn to make goat cheese.)

Re:Why Write Code in 2026 by Salgat on Monday July 13, 2026 @12:40AM (#48887983)
LLMs are perfectly capable of translating between programming languages at this point. The main bottleneck for them is logic, not language.
Re:Why Write Code in 2026 by galaxyLogic on Monday July 13, 2026 @03:30AM (#48889111)
And the amount of logic needed to understand code, including how to fix it or modify it further depends on how complicated the code-structure is.

I wonder about this: Does LLM write better code in a better language?

Humans often have more difficulty fixing existing code than reqriting it from scratch, and un-structured un-constrained code would be a big reason for that.

But maybe it doesn't apply to an LLM if it always rewrites all code from scratch?

Re:Why Write Code in 2026 by t43562 on Monday July 13, 2026 @08:25AM (#48891650)
> I wonder about this: Does LLM write better code in a better language?

The whole point is to rewrite everything in a language you don't understand and then ignore whether it's better because you can't tell.

That language, of course, must be Rust.

Re:Why Write Code in 2026 by coderatlarge on Monday July 13, 2026 @08:44AM (#48891861)
couldn’t the frontier labs simply compile their existing source code training data and have an assembly corpus to train on?
Re:Why Write Code in 2026 by wqaatwt on Monday July 13, 2026 @09:09AM (#48892122)
LLMs are designed to imitate humans not compilers. Hardly anyone is capable of writing modern optimized Assembly code by hand outside of a few snippets here and there (not in a reasonable amount of time at least)
Re:Why Write Code in 2026 by dana321 on Sunday July 12, 2026 @03:37PM (#48883937)
I have a few personal projects, i let codex do all the code - i do the thinking and testing.

One time, something didn't work as expected - its the first time it happened with this project. I read through the section of code and it was perfectly readable and well-written.

Turned out a plugin wasn't effecting the audio, so i just got it to pad some blank audio onto the beginning before processing it, then remove it at the end of the process. That fixed the issue, there was nothing wrong with the code but my ability to think laterally is what made it work.

We're getting to the stage where you can just ask them to write code and they will do what you want, and it writes good code. Its up to you to test everything beyond the internal tests it writes.

Re:Why Write Code in 2026 by BerislavLopac on Sunday July 12, 2026 @04:39PM (#48884563)
> but no, they don't trust the LLM that much

Yet...

Re:Why Write Code in 2026 by mochapwns on Sunday July 12, 2026 @05:19PM (#48884923)
Pretty sure Casey Muratori and Demetri Spanos cover why in one of their videos online.

Less about “trusting” the llm and more about how complex it is to work with binaries due to machine code being different per machine and hard to interpret the context of the code as well as offsets.

In that sense because high level languages come with the ability to add context to what code does. It’s like the understanding a human has when given decompiled C code ghidra gives you vs C source code a developer wrote.

Also the compiler helps the llm write “compiled / working code”, if it just spat out machine code it most likely not even run at all.

But yea generally if you can’t write code at all, reviewing it is even harder.

Re:Why Write Code in 2026 by notnullorvoid on Sunday July 12, 2026 @05:23PM (#48884953)
No defense for not writing or reading code if want to call yourself a software engineer or programmer.

However I do think there is reason to use Java or Python (as much as I loathe both) they have GC, and it'd be a lot easier for AI to fuck up memory safety in something like assembly or C.

Re:Why Write Code in 2026 by hirvi74 on Sunday July 12, 2026 @06:45PM (#48885641)
I concur.

One has to program computers to be a computer programmer. If one just prompts LLMs, they are a software prompter. I think both can fit under the title of a software developer or perhaps even software engineer.

Re:Why Write Code in 2026 by whattheheckheck on Sunday July 12, 2026 @05:25PM (#48884963)
Ask the ai what the game theory is for training employees... the Nash equilibrium is under training and self funded certification/training for devs in low trust environments.
Re:Why Write Code in 2026 by lelanthran on Sunday July 12, 2026 @06:33PM (#48885554)
> Apparently it's not obvious to everyone, but if you can't write code, you can't review it.

There's more to it than that: writing is thinking. If you stop writing code, you aren't thinking anymore.

Many argue that they're now thinking at a higher level (maybe they weren't before?), but, guess what, that high-level design can be done better by the LLM than by you anyway. It's only temporary.

Re:Why Write Code in 2026 by enraged_camel on Sunday July 12, 2026 @06:36PM (#48885578)
>> There's more to it than that: writing is thinking. If you stop writing code, you aren't thinking anymore.

Humans have been thinking long before writing was invented. Why is code special?

Re:Why Write Code in 2026 by lelanthran on Sunday July 12, 2026 @06:49PM (#48885671)
> Humans have been thinking long before writing was invented.

And look how poorly they did it until they invented writing.

> Why is code special?

You don't get better at thinking without doing. With code the "doing" part is writing.

In your view, it is reasonable to expect HS students to thoroughly read a book on trigonometry and then ace the exam? We know, from experience, that only by doing problems does the student actually learn. We also know that when you stop doing problems the facility atrophys.

Why is code different?

Re:Why Write Code in 2026 by fuzztester on Sunday July 12, 2026 @10:06PM (#48887010)
>>Humans have been thinking long before writing was invented.

>And look how poorly they did it until they invented writing.

Yeah, look how poorly they did it until they invented writing.

[peers into the dim ancient past]

Sorry, my time-machine spectacles are on leave or on strike today.

And congrats on being a multi-millen(ium)arian, and a mind reader, who could both 1) exist so far back in the past, and 2) be able to know the thoughts of people who didn't write them down, because they didn't know writing.

/s

Re:Why Write Code in 2026 by satvikpendem on Sunday July 12, 2026 @10:52PM (#48887282)
> And look how poorly they did it until they invented writing.

How can you know how poorly they did it?

Re:Why Write Code in 2026 by lelanthran on Monday July 13, 2026 @04:35AM (#48889593)
> How can you know how poorly they did it?

Their lack of progress. Humans existed in the same basic form for around 100k years before they finally invented agriculture, which led to some improvements, and then rapid progress once writing was invented.

Re:Why Write Code in 2026 by jacomoRodriguez on Monday July 13, 2026 @05:48AM (#48890177)
Improvements or just new ways to be occupied and more work? It seems life without agriculture and the like was way simpler and chilled.
Re:Why Write Code in 2026 by ioseph on Monday July 13, 2026 @07:47AM (#48891213)
Until winter.
Re:Why Write Code in 2026 by satvikpendem on Monday July 13, 2026 @12:50PM (#48895375)
Humans have been storing food for winter for hundreds of thousands of years before agriculture and the invention of writing, you think they all died off or something? People whose crops failed instead were more heavily affected in winter than hunter gatherers.
Re:Why Write Code in 2026 by ioseph on Monday July 13, 2026 @09:49PM (#48901321)
Of course, but the surpluses made possible by agriculture meant occasional starvation became a much rarer event
Re:Why Write Code in 2026 by satvikpendem on Monday July 13, 2026 @11:22PM (#48901890)
No, people starved way more with farming than with hunting and gathering. All in all you're under very severe misconceptions as to how farmers and hunter gatherers lived which is not supported by the evidence.

https://pmc.ncbi.nlm.nih.gov/articles/PMC3917328/

Re:Why Write Code in 2026 by lelanthran on Tuesday July 14, 2026 @03:47AM (#48903466)
That study controls only for habitat quality, which I feel is not really relevant: hunter-gatherers are, by definition alone, nomadic. They move to where the food is!

IOW, hunter-gatherers follow the best habitat, so controlling for habitat is always going to have the conclusion this paper reached.

I'd be very interested in other studies that support this conclusion; after all, that's how science works - a single study proves nothing if many studies conclude the opposite.

Re:Why Write Code in 2026 by disgruntledphd2 on Monday July 13, 2026 @05:44AM (#48890141)
> then rapid progress once writing was invented.

While I mostly agree with this notion, given that all of our understanding of human progress historically comes from writing, there's a selection effect happening here.

Like, why do we talk about the Dark Ages? Because there was less writing, so obviously things were terrible.

Re:Why Write Code in 2026 by lelanthran on Monday July 13, 2026 @06:05AM (#48890331)
> While I mostly agree with this notion, given that all of our understanding of human progress historically comes from writing, there's a selection effect happening here.

There's a bit of a selection bias there, because writing itself is used as a measurement of progress.

But, ignoring writing as a measurement of progress, we can pretty much see that for about 100k years the only tech were primitive tools.

Even after the domestication of wolves (about 40k years ago) there were no visible improvement in tech. After agriculture (10k-12k years ago, maybe?), there's visible progress in tech (tools), but not by much, and visible improvement in societies (also, not by much).

Enter writing - those civilisations that had more advanced writing progressed rapidly, and those that did not barely progressed at all, tech-wise.

Because not all civilisations progressed at the same rate, we can see quite clearly that writing is highly correlated[1] with progress.

---------------------

[1] While correlation does not imply causation, as the data mounts it lends more and more weight to the causation bit.

Re:Why Write Code in 2026 by mewpmewp2 on Monday July 13, 2026 @10:10AM (#48892998)
If writing is a natural tech you unlock on an already exponential curve it would always correlate with progress. And so many thousands of other tech.
Re:Why Write Code in 2026 by lelanthran on Tuesday July 14, 2026 @03:51AM (#48903484)
> If writing is a natural tech you unlock on an already exponential curve it would always correlate with progress.

That's a big "If". The observation we have is that civilisations that never invented writing simply died out with no tech-tree advancement; and this happened for 100k years at least.

We've got 100k years of "no writing, no tech". We've got around 5k years of "with writing came tech".

The actual tech to write was there for much of the 100k years (cave art), but without writing, the tech never improved.

Re:Why Write Code in 2026 by palmotea on Monday July 13, 2026 @10:55AM (#48893693)
>> And look how poorly they did it until they invented writing.

> How can you know how poorly they did it?

You could probably get some sense by comparing illiterate people to literate people.

Re:Why Write Code in 2026 by ares623 on Sunday July 12, 2026 @07:36PM (#48885992)
have you tried thinking for a long time without writing anything down?
Re:Why Write Code in 2026 by koolba on Monday July 13, 2026 @04:04AM (#48889349)
Yes in three specific environments for varying durations. Lying down to sleep, showering and driving.

Each last for a different amount of time and you generally can’t write or even read anything. But in my personal experience, all three lead to solving the most difficult software problems.

Re:Why Write Code in 2026 by ares623 on Monday July 13, 2026 @04:32AM (#48889570)
Fair. But in all 3 did you very quickly write down the solution as soon as you were able?
Re:Why Write Code in 2026 by mewpmewp2 on Monday July 13, 2026 @09:49AM (#48892644)
My best thinking is when I am going for very long runs, when I write down the thought, my brain stops thinking about it, considers it done and moves on.

When writing, thoughts become forced and linear in my view as opposed to floating in a specific way from point to point. Like I lose the natural creativity.

Writing is about remembering or communicating, so it is summarizing the thoughts, but it is not thinking itself, it is more so thinking about how to communicate efficiently or how to make a note so you don't forget. It is not creativity for me.

Kind of imagine building an idea in your head while running and then you write down the summary of it.

Re:Why Write Code in 2026 by ares623 on Monday July 13, 2026 @03:47PM (#48897825)
I see, I'm the same too. Throughout my day my thoughts would be flying and zooming around. Some of them good, most of them not good or otherwise useless.

When I sit down to try and write them down, I blank out. Or the thoughts that I thought were good/useful, I second guess when writing them down. Perhaps it's just lack of practice on writing them down (I'm trying to use a typewriter to do so recently).

Re:Why Write Code in 2026 by wseqyrku on Monday July 13, 2026 @07:31AM (#48891080)
You will get to a point that you have to write it down so you don't forget but more importantly check if it even compiles.
Re:Why Write Code in 2026 by t43562 on Monday July 13, 2026 @08:27AM (#48891677)
writing is a way to get your brain to put thoughts into a form that someone else will be able to reach the same understanding as yourself. The effort to explain oneself often leads to better understanding: Duck Debugging basically.
Re:Why Write Code in 2026 by danshipt on Monday July 13, 2026 @05:36AM (#48890077)
Writing changed everything. You barely (if at all) can tell me what humans in the past were thinking without relying on some written artifact.
Re:Why Write Code in 2026 by mewpmewp2 on Monday July 13, 2026 @10:12AM (#48893049)
That is a joke, right? E.g. as in there was no writing therefore no evidence of people having had thoughts?
Re:Why Write Code in 2026 by dsego on Monday July 13, 2026 @09:56AM (#48892751)
It's like math in school. I wasn't good at math in school because I thought that understanding the concepts was enough. But without actually putting pen to paper and drilling through math problems you quickly get lost. It's a skill issue.
Re:Why Write Code in 2026 by mewpmewp2 on Monday July 13, 2026 @10:01AM (#48892834)
I specifically liked math and physics because these were something I didn't have to memorize or repeat constantly. While other subjects felt forced rote memorization. Same with code though. Writing things down feels like a chore mostly, so I am personally glad AI is here.
Re:Why Write Code in 2026 by dsego on Tuesday July 14, 2026 @03:19AM (#48903270)
I didn't mean rote memorization, which I agree is what other subjects were like, we used to say "campaign learning", because we studied the material just for the exams. But with math problems for me the trouble is that I didn't put in the work, I would see for example equations solved on the blackboard and it made perfect sense at the time, but because I would skip practicing at home, I would forget some of the steps and would get stuck.
Re:Why Write Code in 2026 by lelanthran on Tuesday July 14, 2026 @06:12AM (#48904500)
> I specifically liked math and physics because these were something I didn't have to memorize or repeat constantly. While other subjects felt forced rote memorization. Same with code though. Writing things down feels like a chore mostly, so I am personally glad AI is here.

I am skeptical that you were able to get any good at Maths or Physics without drilling problems.

Re:Why Write Code in 2026 by mewpmewp2 on Monday July 13, 2026 @09:58AM (#48892787)
I think writing is summarizing your thoughts outside of thinking. Thinking happens at least for me before I write. I know what I want to do before I write, and writing is just one medium to get it out there. If there was a faster way, to get my thoughts there I would use that.
Re:Why Write Code in 2026 by palmotea on Monday July 13, 2026 @10:49AM (#48893596)
> Thinking happens at least for me before I write. I know what I want to do before I write, and writing is just one medium to get it out there. If there was a faster way, to get my thoughts there I would use that.

A lot of people observe that their thoughts get better when they do the work to write them out. It's not just a straightforward encoding process (as maybe a software engineer would conceive of it).

Re:Why Write Code in 2026 by mewpmewp2 on Monday July 13, 2026 @12:09PM (#48894788)
Yes, it gets better, but not because of writing, it gets better because of building, playing it out and observing the results. The trial and error. It wouldn't matter whether I built via voice to command AI or wrote the code myself.

E.g. I iterate and see the architecture or the system work out, or I get other ideas because of something I don't like, etc.

Re:Why Write Code in 2026 by lelanthran on Tuesday July 14, 2026 @03:40AM (#48903414)
> Yes, it gets better, but not because of writing, it gets better because of building, playing it out and observing the results. The trial and error. It wouldn't matter whether I built via voice to command AI or wrote the code myself.

This is a poor argument. The trial and error is the LLMs trial and error of your intention (ironically driven by you), not your trial and error.

It's like saying "It wouldn't matter if I instructed an LLM to solve my trigonometry problem or if I wrote the the solution myself; either way I'm learning trig".

> E.g. I iterate and see the architecture or the system work out, or I get other ideas because of something I don't like, etc.

What exactly are you needed for in this scenario, other than saying "make me $PRODUCT"? The LLm is going to be a lot better at architecture than you are. Your role is limited to A/B testing the result for human use.

Re:Why Write Code in 2026 by balder1991 on Monday July 13, 2026 @11:08AM (#48893887)
You’re not wrong, but there’s a nuance here. More often than not our thoughts fool us into thinking we have something clear when we have only a vague idea of what you want to do.

I kinda [wrote about this before](https://dielsonsales.github.io/2023/05/11/starting-a-new-blo...) but the takeaway is that writing forces you to structure your thoughts, giving them a final shape and enables you to notice flaws or gaps in your own thinking process. It’s impossible to do this without writing.

Re:Why Write Code in 2026 by mewpmewp2 on Monday July 13, 2026 @12:21PM (#48894953)
It would be good to have specific situations here I guess, otherwise it's quite abstract, and I'm not sure what to make of it.

As to your post, I think rather than writing it's the act of pressuring yourself to figure the thing out that is making you more knowledgeable about the thing.

You are putting it out publicly out there so you really want to be certain that you are correct, and therefore you do a lot of research.

If you wanted to be accurate and prove a point, the motivation mechanism could vary, but also the eventual communication mechanism could vary. It doesn't necessarily have to be in writing, it could be a live debate or simply something else you built. The writing or the product are end product, but the process of wanting to produce something is what made you research and to understand.

You could be writing to yourself into a Google Docs, and not care and you would not go deep to research since there's no incentive to be accurate.

E.g. I could be doing a home project whether hardware, software or DIY, that in order to produce this output I have to learn and think. Similar to as good set of words to communicate some idea. But also I could build some slop without thinking and I could produce slop writing without thinking, and about nothing special.

Re:Why Write Code in 2026 by dzonga on Sunday July 12, 2026 @07:30PM (#48885942)
just to add to your excellent observation

by writing code by hand - you're the author & editor at the same time.

if you're skilled enough - you quickly get to the desired state vs the llm which while might produce a lot of code - but it likely won't give the end state you desire.

an analogy - Jason Fried gave - producing software by llm's is like bragging you're a photographer by pressing the shutter button on an automatic camera.

while the art of photography - is about producing the single perfect photo - that communicates the photographers intent (what they want the world to see & experience).

likewise in software - what we make should be deliberate.

Re:Why Write Code in 2026 by chewz on Tuesday July 14, 2026 @09:01AM (#48906188)
Just so you know, most people nowadays can create decent pictures or even movies with smartphone. Not automatic camera, not polaroid, not Polaroid camera, not analog Canon FD, not cardbox camera.

Where will you put a line between photography and pressing button?

My point being - tools change with time.

Re:Why Write Code in 2026 by nojito on Sunday July 12, 2026 @08:24PM (#48886352)
>if you can't write code, you can't review it.

I don't write code anymore and I doubt I ever will ever again.

On the flipside I review exponentially more code than ever before.

>Just ask Claude to dump out assembly, or a compiled binary, but no, they don't trust the LLM that much

It's not "not trusting" the llm its that the llm has been undergoing reinforcement learning is on coding. Plus generating assembly is extremely token inefficient.

Re:Why Write Code in 2026 by Salgat on Monday July 13, 2026 @12:42AM (#48887998)
The difference is that you already learned how to write code. New devs that go straight to genai are missing that.
Re:Why Write Code in 2026 by brabel on Monday July 13, 2026 @02:49AM (#48888816)
Perhaps new devs should write all their code by hand until they feel comfortable doing that. Then, they can start using LLMs gradually, just a little bit at first, all the way to fully AI generated code.

However, that would just make the difference in productivity between junior and senior developers even more pronounced! It’s really difficult to see how things will play out in the future without junior developers disappearing, causing a slow death of the profession. LLMs will probably never be good enough to do everything a developer needs to do: understand and improve or clean up requirements, consider future needs, test outside the box, evaluate performance and decide where and when to improve it…

Re:Why Write Code in 2026 by Salgat on Tuesday July 14, 2026 @04:53PM (#48912811)
Yeah it's a real catch-22. I think you're right though, LLM tech will keep up just enough to replace that lost workforce, till some day development as we know it will no longer exist, perhaps when the code becomes too abstract and complex for normal humans to ever hope to maintain without automation, similar to what happened to most assembly developers when the compiler came along.
Re:Why Write Code in 2026 by fuzztester on Sunday July 12, 2026 @09:42PM (#48886846)
dump out assembly?

aargh! haalp!

Which rock are you living under these days.

Nowadays everything is IR or MLIR ... or AIR ...

whoops, i may have skipped a few generations. hard to keep up with the dynamic pace these days. got a job to save. sorry suh.

mumble javascript mumble framework of the half-week ...

walks off muttering

Re:Why Write Code in 2026 by t43562 on Monday July 13, 2026 @08:32AM (#48891735)
No need for IRs if LLMs are all powerful. Just tell them to generate x86 and ARM and let them get on with it.
Re:Why Write Code in 2026 by fuzztester on Monday July 13, 2026 @10:23PM (#48901535)
Niiice ...

I'll byte the bullet.

Hang on a bit while I register that in my memory.

>generate x86 and ARM

So that hardly anyone can review the machine language output, I guess.

HN users' minds be like:

87.654321 %: JS? yeah. mainhipsterstream. gotta be a part. heart.

smaller %: Rust? wannabe. donno how, u c.

much smaller %: C? oh no ... numeric underflow.

Congrats on moving over to the light side.

Re:Why Write Code in 2026 by t43562 on Tuesday July 14, 2026 @03:52AM (#48903491)
If nobody can review it that's fine since we'll be generating at least 50k LOC per day and nobody could review that anyhow. We can just get every other LLM model to review the output. What can go wrong?
Re:Why Write Code in 2026 by fuzztester on Wednesday July 15, 2026 @04:17AM (#48917752)
token cost, for one.

bobby tables, for another.

https://imgs.xkcd.com/comics/exploits_of_a_mom.png

Re:Why Write Code in 2026 by satvikpendem on Sunday July 12, 2026 @10:53PM (#48887288)
> Just ask Claude to dump out assembly, or a compiled binary, but no, they don't trust the LLM that much

No, people do advocate for this. It may simply not be as portable however as something that is high level able to be compiled to assembly for many machines.

Re:Why Write Code in 2026 by t43562 on Monday July 13, 2026 @08:32AM (#48891726)
It's the logical outcome of believing that human skills aren't important and that you can "think at a higher level". You can't spend all your time thinking at a higher level if you cannot fully trust the output and the assembler argument is just taking the thing to an extreme to make that point.
Re:Why Write Code in 2026 by zx8080 on Sunday July 12, 2026 @11:32PM (#48887550)
> Apparently it's not obvious to everyone, but if you can't write code, you can't review it.

Why review it at all? The trend is to vibe code everything with agent harnesses and tokenmaxxxing.

Re:Why Write Code in 2026 by byzantinegene on Monday July 13, 2026 @12:15AM (#48887843)
churning out assembly code would cost far more in tokens, wouldn't make financial sense for the improved performance which doens't matter that much for most use cases.
Re:Why Write Code in 2026 by lazyasciiart on Monday July 13, 2026 @12:41AM (#48887986)
This isn’t obvious at all. Editors can evaluate and improve the work of writers even without being bestselling novelists themselves. Richard Williams coached his girls to world championships without winning one himself. Roger Ebert never even made a movie.
Re:Why Write Code in 2026 by asdff on Monday July 13, 2026 @02:11AM (#48888534)
No one gets hurt or dies when roger ebert whiffs on a movie review. Now imagine I tell you I've built a bridge. I have no idea how to perform the necessary calculations. I have no idea how to verify the necessary calculations. But, I've built you a bridge. It kind of looks like a bridge. Will you drive across it?

Not all software is mission critical. But some software is.

Re:Why Write Code in 2026 by streetfighter64 on Monday July 13, 2026 @07:19AM (#48890967)
First of all, obviously there's more training data on high level languages than assembly / compiled binaries. Secondly, Python, Java or even C is portable to another device. You know, one of the main points of high level languages: that you don't have to rewrite your app from scratch each time you want to change the machine it runs on.

Thirdly, compilers also do type checking and other static analysis and dynamic checks (array length etc). So it's not only got more guardrails against "mistakes" by the LLM, but it's also most likely "easier" for the LLM to "reason" about (in the sense that LLMs can reason).

There's no intrinsic value to having humans read the code, so as soon as LLMs are good enough to work on their own, companies will no longer need to keep developers who can read code as a backup solution.