Live data from Hacker News

Why write code in 2026

softwaredoug.com

181–190 of 321 posts

Re: Why write code in 2026

#181

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…

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

#182
post #117

Earlier quoted context omitted.

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;…

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.

And ofc the Chinese workers are a lot cheaper.

Re: Why write code in 2026

#183
post #78

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…

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…

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

#184

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…

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

#185
post #156

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…

>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 extre…

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

#186
post #44

I always hated writing code but loved debugging. LLM super charges systems thinkers & auditors, it’s just a different process and no different than copy and paste from stack overflow. It all comes down to the architecture design and LLM just exposes how bad people are at designing dynamic architectures.

> and no different than copy and paste from stack overflow This isn't really the point of your comment, and for that I apologise, but: not all of us did that. For many good reasons, too.

> not all of us did that. For many good reasons, too.

This isn't really the point of your comment, and for that I apologise, but I still haven't gotten used to speaking about what we "used to do" in the past tense, as if we are in a post-programming world...

We are already starting to speak of the habits we used to have (or not have), how things used to be done back in the day (1-2 years ago).

I don't think you're wrong to do so. I find myself saying it sometimes too. Just an observation about the weird world we find ourselves in.

Re: Why write code in 2026

#187

“Do you know what the industry term for a project specification that is comprehensive and precise enough to generate a program? Code. It’s called code.” - CommitStrip ( https://www.reddit.com/r/ProgrammerHumor/comments/1p70bk8/sp... ) I think if you’re doing it right, the core of your code should be the simplest expression of the underlying business logic. Of course there’s always going to be supporting layers, and m…

My other article on this topic advocates for using code over specs :) It’s ok to talk to the agent in code. Or create examples for it to follow. https://softwaredoug.com/blog/2026/07/04/write-code-not-spec...

> My other article on this topic advocates for using code over specs :)

Code is executable. Specs are not.

Re: Why write code in 2026

#188

Earlier quoted context omitted.

My other article on this topic advocates for using code over specs :) It’s ok to talk to the agent in code. Or create examples for it to follow. https://softwaredoug.com/blog/2026/07/04/write-code-not-spec...

> It’s ok to talk to the agent in code. Or create examples for it to follow If you're doing this, then why not just write the effing code?

"Hey Claude, can you please make a full matrix of tests according to the following pattern and parameters? Thanks." That's 15-20 minutes of work that can run in the background while I do something else.

Re: Why write code in 2026

#189
post #78

Earlier quoted context omitted.

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…

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.

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

#190

I need to write code because otherwise LLMs will write too much code, it’s only when you fully understand the problem you can generalise it enough to not end up with 10k lines and 5 abstraction layers for “hello world”. LLMs are token predictors, so all solutions are you tokens, the more problems to solve == the more tokens (code) to output.

> it’s only when you fully understand the problem you can generalize

Peter Naur explained this decades ago

>Peter Naur argues that programming is fundamentally a human activity of building a mental "theory" - a deep conceptual insight into how a system's parts match the real-world problem it solves. He rejects the prevailing view that programming is merely the mechanical production of source code, specifications, and documentation. Instead, Naur posits that the true product of programming is the shared mental model held in the minds of the developers who built it.

As a human you're the one with the problem you want code to solve, so it's worth having an understanding the problem. Otherwise you risk an X/Y situation, where the LLM ends up solving a problem that may not actually satisfy what you need.

I think what LLMs allow you to do is better abstract away everything that's _not_ essential to the problem you care about, in the same way that libraries or any higher-level programming language does. Ultimately there's still a "core" of the problem that needs to be expressed formally though. When you see people "vibe coding" by prompting the LLM to add constraints at a time until they reach their desired end-goal, this is ultimately "programming" in a sloppy, non-formal way. Better to get the LLM to write everything else _surrounding_ the problem, so you can write and understand the core yourself.

Post reply on HN