frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Ask HN: Does it still make sense to write code by hand?

9•fnoef•1h ago
Dear HN, I have a question: Does it still make sense to write code purely by hand? Let me clarify.

First of all, I'm not talking about environments where you need to "move fast" or where your required to use LLMs. I'm referring more to an environment where you do it on your own terms, rather than on the terms of the employer.

Secondly, I'm not talking about prompting "Build me the next twitter clone", but rather prompting very small tasks after you have made the initial design, something along the lines of "Create a database migration that adds column [x], not null", "add a field to the this form that will accept string value, validate it on the backend against this format, and save it to column [x]". So basically, writing code in plain English.

Why do I ask? I believe that writing something yourself helps you learn it better, but at the same time, if you did all the thinking and now just prompting for a fancy auto-complete, we could argue that the hardest part (the design) was already done, and you skip the writing for the sake of writing. On the other hand, I am afraid that if I will stop writing code in environments where I can still do it, I will lose the ability to think about code and understand code.

Whats your take on this?

Comments

Jemaclus•1h ago
It's like any other tool. Use it when you need it.

We don't insist that HVAC installers use hand-powered drills to "feel closer to the work," but we also don't insist that they use battery-powered drills and impact drivers on every single task.

We don't insist that a chef use a Vitamix blender to chop a single onion when a couple seconds with a sharp knife will do, but we certainly wouldn't only use a sharp knife to create a salsa.

We don't insist that a carpenter use only hand-saws to build a house, but we also don't insist that they use a chainsaw to make a chair.

We don't insist that an accountant write out taxes by hand, but we also don't insist that they use a calculator to determine how old you are from your birthdate.

You use the power tools when appropriate, and you use more delicate, surgical tools when appropriate. It's not any more difficult than that.

praash•16m ago
I really like your analogy as-is, but LLMs aren't reliable power tools. Asking for external help requires good communication and can be overkill for small tasks.

Hiring a team of subcontractors carries risks unless you babysit the whole project.

segmondy•1h ago
Does it make sense to still walk? I mean, we have cars. You want to go somewhere that's 1km away from home. Does it make sense to walk?

Someone wants to give you a phone number. Does it make sense to still try to memorize it or must you hunt down paper and pen to write it down?

... you get the drift? Do what makes sense to you.

trio8453•57m ago
> prompting very small tasks after you have made the initial design, something along the lines of "Create a database migration that adds column [x], not null", "add a field to the this form that will accept string value, validate it on the backend against this format, and save it to column [x]". So basically, writing code in plain English.

Are you presenting this as the option that allows you to have better understanding (smaller tasks, closer to the changes), or the option with which you don't have understanding (because you're still getting assistance, not solving every problem on your own and not typing the code out yourself)? I genuinely can't tell from your post, people can and do take both of these positions.

> I will lose the ability to think about code and understand code

If you lose it (whatever "it" is), it's because you don't use it. If you don't use it but you're still getting your job done, is that really a loss?

achairapart•57m ago
I have a related question: In a contest where all the code is generated by LLMs and not hand-coded anymore, does it still make sense to use high-level languages and other abstractions that were created for humans?
Jtsummers•52m ago
Maybe not the ones created for humans, but high level languages, probably. More abstract languages ("high level" basically means more abstraction away from the underlying machine, with "low level" being closer to the machine) allow for compression relative to unabstracted languages.
bigstrat2003•16m ago
LLMs are known to do worse the more code they have to go through. Therefore, using a high level language where it doesn't have to work with as much code is going to be far more effective.
ubedan•15m ago
I believe so, with Rust being exhibit 1. Rust is known for finding rather a lot of bugs while compiling instead of during debugging. The quote you'll often see is: "If it compiles, it usually runs."

The Rust compiler enforces many code style conditions that you most probably want in your finished program... Type checking, only one thread writing to memory at a time to avoid race conditions, etc.

It is possible to imagine an AI version of Rust that takes this even further in the future.

add-sub-mul-div•41m ago
Would you ever want to be as helpless at a skill you care about as the typical person is about math, since calculators were invented?
al_borland•37m ago
In the context of coding on your own terms, I think it makes sense to still code to help learn and reenforce understanding. There are a lot of times I read something or see code, I think I get it, but it’s not until implementing it, and making changes to that implementation, that I actually understand it.

There is also a question of enjoyment. While you enjoy it, and while you’re learning, write it yourself. If you’ve already done something many times, understand it well, and it’s become tedious in a bad way, maybe that’s where some strategic use of AI comes in. Of course, I tend to like a bit of tedium from time to time.

bitbasher•36m ago
I do all of my code by hand. I don't even use an LSP. It makes sense as long as it makes sense to you.

You don't need to change the way you do things because of some perceived thing you're missing out on. That is what the AI companies want you to feel and think because it benefits them.

This applies to more than AI, but programming language choices and more. Heck, it even applies to social issues and politics :)

Make your own choices and walk your own path.

harryquach•30m ago
I am already being forced to use Claude for all coding in my job. All personal projects/code I still write by hand. This has always been the fun part of software development for me.
Lord_Zero•35m ago
Its rare for me now. Most by-hand stuff I do is setting up initial repositories and folders for the base structure I want, copying logos, assets, images, content, and then I tell AI to finish the rest for example.

Configuring secrets for CICD, .env files, hosting configurations/backups.

Writing instructions files, specs, copy/pasting context, requirements, examples.

I see the argument here constantly "But ur skills!". OK. Well back to work actually shipping software using this new tool that is never going away. My client doesn't really care about my skills, just my speed and they have money for me.

rramadass•30m ago
Yes, there is still a need to learn to write code by hand.

Maybe not to the detailed nitty-gritty level in a computer language that was needed pre-LLM era but nevertheless still a must.

In this context, it is good to revisit the practices from early days of programming where "System Analysts" and "System Designers" provided detailed specifications to "Programmers" who translated it into computer code. The key point to understand here is that the specifications were detailed i.e they were code just in a non-machine executable form.

So detailed Specifications followed by Verification is mandatory. Understanding the code implementation in-between has lesser need but still important.

See also my previous comment chains from here - https://news.ycombinator.com/item?id=48800484

fullstick•27m ago
Turns out I think I always liked the end product more than getting there. I would kind of hate having to only write code by hand for a paycheck again.

I still write code by hand because sometimes it's faster and cheaper.

maerF0x0•21m ago
> you do it on your own terms, rather than on the terms of the employer

You've setup a condition where essentially every answer is true. I know someone who spins wool and dyes it and makes socks. Does it still make sense? Only once you add in the fact she enjoys.

If you're real question is what can be done better by hand in July 2026?

afaik optimization problems are still getting superior results from humans. Things like if you do this algo you can loop the array once instead of 3x. If you align this struct like this it's faster on a certain arch + os. Or if we do these 2 steps in microservice A we can only touch the memory and network once instead of twice etc.

a 2x speed up is still meaningful at scale. (I'd bet there are 100s of software companies out there that would pay 7 to 8 figures if you could 1/2 their AWS bill)

bigstrat2003•11m ago
> If you're real question is what can be done better by hand in July 2026?

The answer to that question is "everything". Humans are still noticeably better than LLMs at writing code, and just as fast once you factor in the time it takes to review and correct the LLM.

bigstrat2003•18m ago
Outside of work (where they force me to use the clanker), why on God's green earth wouldn't I write code by hand? That is the fun part; I'm not going to voluntarily give up the fun part of my hobby project. If you are a person who is wired to care more about getting to the end than the process (as some here have said they are), then fine, use an LLM if you want. But there's no "makes sense to" involved here - if you like writing code then write code, if you don't then don't.
erelong•1m ago
I think you could make a high level brainstorm session / plan on paper of things to prompt and that this was valuable even before AI

and occasionally manually writing out the code could be useful as a mental exercise to keep coding skills sharp?

Optimizing a Ring Buffer for Throughput

https://rigtorp.se/ringbuffer/
2•mattrighetti•1m ago•0 comments

Save Standard Time

https://savestandardtime.com/
1•throw0101d•1m ago•0 comments

Maybe we could tone down the JavaScript (2016)

https://eev.ee/blog/2016/03/06/maybe-we-could-tone-down-the-javascript/
1•downbad_•2m ago•0 comments

Do YC companies get preference on the homepage?

1•e_i_pi_2•2m ago•0 comments

American AI is expensive. Some startups are turning to cheap Chinese models

https://www.npr.org/2026/07/15/nx-s1-5886476/startups-cheap-chinese-ai-models
1•makerdiety•3m ago•0 comments

US Debt Clock Live

https://www.us-debt-clock.com/
1•ourmandave•3m ago•0 comments

When agents talk: tool calls, handoffs, and two wallets

https://www.kulikowski.me/blog/agents-talking-to-each-other
1•kinlan•3m ago•0 comments

Funny item co-occurrences in 3.2M Instacart orders

https://rogerdickey.com/funny-item-co-occurrences-in-3-million-instacart-orders/
1•rogerdickey•6m ago•0 comments

Show HN: Pullrun – Run OCI Images as Containers or Firecracker MicroVMs

https://github.com/pullrun/pullrun
1•liquid64•7m ago•0 comments

Eight Writers on Facing the Blank Page

https://www.youtube.com/watch?v=TDH7yAWsyG0
1•brudgers•8m ago•0 comments

Show HN: 3,225 trials of LLMs guessing author age – confident and wrong

https://github.com/BraveAnn011/llm-author-misattribution
1•BrianneLee011•10m ago•0 comments

Show HN: Stillwind – PCB part selection as constraint solving

https://stillwind.ai
4•hannesfur•10m ago•0 comments

Show HN: Summa, a tool that annotates over whatever you're reading

https://summa.josephruocco.net
2•jruocco•10m ago•1 comments

Vacuum of the Imagination: Why Space Rockets Could Have Flown Centuries Earlier

https://angadh.com/rockets-1
1•angadh•11m ago•0 comments

Show HN: Painterly – Turn pictures into digital paintings without generative AI

https://github.com/jbunke/painterly
1•flinkerflitzer•12m ago•0 comments

The Download: a useful quantum machine and a record-breaking subsea tunnel

https://www.technologyreview.com/2026/07/15/1140498/the-download-useful-quantum-computer-subsea-t...
1•joozio•12m ago•0 comments

Reverse Engineering Crazy Taxi, Part 3

https://wretched.computer/post/crazytaxi3
2•marklit•14m ago•0 comments

I Switched from Hugo to Astro

https://hmmr.online/posts/why-astro-not-hugo/
1•ZanderHammer•15m ago•0 comments

Rustwright: Playwright rewritten in Rust that uses 70% less memory

https://github.com/Skyvern-AI/rustwright
1•suchintan•16m ago•0 comments

Show HN: Zappio – a native iOS player for M3U/Xtream playlists

https://zappio.maritsol.at
1•zappio_iptv•17m ago•0 comments

RL post-training on 14 Macs across 4 countries

https://pluralis.ai/blog/rl-post-training-on-macs/
2•erfan_mhi•20m ago•0 comments

Nearly 200 Economists and Tech Leaders Warn of A.I. Threats

https://www.nytimes.com/2026/07/13/business/economists-ai-threat-jobs.html
2•Vaslo•21m ago•1 comments

The digital euro could be a major boost for European integration

https://blogs.lse.ac.uk/europpblog/2026/07/15/digital-euro-boost-european-integration/
1•jruohonen•23m ago•1 comments

Query Latency in the Age of AI Agents

https://cube.dev/blog/query-latency-in-the-age-of-ai-agents
2•skadamat•25m ago•0 comments

Calibrating Alignment Evals

https://www.lesswrong.com/posts/mWpo4Tu87ZSFzwFWB/calibrating-alignment-evals
2•gmays•25m ago•0 comments

Ray Kurzweil and Hans Moravec: Spiritual Machines, Transcendent Minds

https://medium.com/@timventura/ray-kurzweil-and-hans-moravec-spiritual-machines-transcendent-mind...
1•timventura•25m ago•0 comments

Rare Autopsy Finds Alzheimer's Drugs Only Work in Some Parts of the Brain

https://www.sciencealert.com/rare-brain-autopsy-hints-at-why-alzheimers-drugs-are-failing
2•johntb86•25m ago•0 comments

Books that are just right for children might not be the best approach to learn

https://theconversation.com/children-learn-to-read-with-books-that-are-just-right-for-them-but-th...
1•obscurette•26m ago•0 comments

Carl Sagan and the 4th Dimension [video]

https://www.youtube.com/watch?v=UnURElCzGc0
2•jonbaer•26m ago•0 comments

Job Hunters Are Using AI to Cheat in Interviews, and Failing at the Office

https://www.bloomberg.com/news/articles/2026-07-14/ai-tools-can-help-job-hunters-cheat-on-intervi...
2•rainhacker•27m ago•1 comments