News for hackers. Stuff that matters.
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.