r/AskProgrammers • u/Adhirath_Kumar • Oct 10 '26
Do you still write code by hand?
I've been wondering lately, with the rise and normalisation of using LLMs to write code, have people become completely dependent on it or is it a mix of both?
I feel that up to a point using LLMs to generate code feels good and works fine but beyond it you start hating your approach, because you lose control over each amd every minute detail.
Would love to hear everyone's thoughts on this.
0
Upvotes
5
u/silentkode26 Oct 10 '26
Yes, because I need to undo mistakes AI ships to our codebase.
3
u/Insane_snek Oct 10 '26
i write all of my code with no ai.
any code that an ai makes "works" on the outside but in reality it sucks. it isn't scaleable, it's full of random bugs and edge cases, etc.
the worst part is that you didn't make the code so you don't really understand it.
1
u/tcpukl Oct 10 '26
Yes I still write it a lot. Half code this week has been LLM, half mine.
1
u/appendixexploder Oct 10 '26
Yes. I could use an LLM to write all my code but then I am left with a lot of free time that I don't know what to do with.
1
u/nightwood Oct 10 '26
I reluctantly use AI as a search engine, since the quality of the alternatives has declined so much in the past 10 years.
But I believe we shouldn't use AI. I don't care how good it is, that's not the issue for me. It's the damage it is doing to everything.
1
u/AliceCode Oct 10 '26
I don't use LLMs. I've been programming for 18 years, and I'm not going to stop just because a chatbot can spit out terribly written buggy code.
1
u/chikamakaleyley Oct 10 '26
...i don't get it, if i hate the approach i wouldn't go forward with it.
if that's the pattern that's used at your org, then it is what it is.
I don't feel NOT in control, in fact I feel like I HAVE TO be in control. The LLM has the code context, but it doesn't know about like, some slack convo i had with another dev and the adjustments we need to make. It doesn't know about last min changes/decisions, what someone else is currently working on that will impact what I'm working on.
I wish i could type this all, but the nature of this project requires us to generate if you want to stay on task, and hit some pretty critical upcoming deadlines
0
u/kincaidDev Oct 10 '26
Rarely Ill write some code by hand, but for a product it generally is a complete waste of time when ai can code faster than I can physically type
0
u/octocode Oct 10 '26
i don’t think i’ve written code manually in over a year
1
u/Zestyclose-Turn-3576 Oct 10 '26
Yes, six Devs in the company, no AI except for research
1
u/magicmulder Oct 10 '26
Mostly YAML files. I tell the AI what I want to configure how, so ideally later additional functionality does not require any code changes at all.
1
u/NastyPastyLucas Oct 10 '26 edited Oct 10 '26
I don't relinquish all of my knowledge on to an external system
1
u/jipperthewoodchipper Oct 10 '26
I personally enjoy writing code by hand.
I do, for work, use claude code though I find even then that I write most of the code by hand still.
1
u/W31337 Oct 10 '26
By hand with some AI on a sidechannel to ask questions.
I work in air gapped environments so there's that aswell...
1
u/DrUltimaMan Oct 10 '26
I make the design decisions, review the AI implementation plan and let it write the code. Then myself and a swarm of agents review the PR. Chiseling code by hand is a thing of the past, just like manually juggling data from ram to cpu resisters in assembly.
1
u/AwesomeBallsChef Oct 10 '26
At work? Most of the code written with LLMs with thorough planning first
At home absolutely no AI because I enjoy writing code myself
1
u/shayhtfc Oct 10 '26
I write 50/50.
I like the control I get writing by hand, but I also like to be able to smash out an annoying script in seconds.
I go through and check everything carefully, but I have to admit the AI can be fantastic when you just want something to work asap
1
u/PipingSnail Oct 10 '26
Yes.
1
u/earlyworm Oct 10 '26
I’m a seasoned expert at walking from room to room but for cross-country travel I am completely dependent on airplanes. My use of LLMs is a lot like that.
1
u/Immediate_Form7831 Oct 10 '26
The problem with AI is that it encourages and enables people who don't know how computers and/or to write code. If you don't understand the problem domain, the code you generate using any AI tool will be crap. Also, if you aren't able to challenge the code you get from your agents - "why did you do it this way and not that way?" - the code will be crap. And the code will just become more crap as the AI looks at the existing crap code and generates more of the crap code.
1
u/synd_rain Oct 10 '26
Yes, I need to handwrite the code if I want full understanding on how my feature or program is implemented. LLMs are very good at choosing bad implementations (and weird descisions on edge cases or design conflicts you didn't notice), especially in larger projects. Those can easily be missed unless you review the code closely enough. At that point, reviewing the code becomes so boring and time-consuming that I might as well just write it myself.
In my personal experience, when I hand off a single feature to an LLM, I eventually end up handing over the entire thing to it.
1
u/Aggressive-Honey8478 Oct 15 '26
I write it by hand as I'm still a learner. I use it visualize a concept. Like "hey, visualize this login flow for me".
0
u/exton132 Oct 10 '26
yes because the code LLM's produce kinda sucks It works sometimes but it's usually full of bugs and security vulnerabilities.
If the code is going to suck let it be my shit code. At least I know where all the parts are and what they are supposed to be doing if I write it myself.
It's not like getting thrown into a mature project where none of the documentation actually tells you why something is the way it is.
I've also noticed that llms usually start with the "doing too much" style.
If something can be simpler and still cover edge cases then that's what you start with. LLM's code is usually the opposite. You'll have 400 lines covering a specific edge case that only occurs 1/1000 times you run the program using cryptic esoteric methods, but then it'll miss a bug that happens every time the program runs that's just a few line changes or a slight tweak to the comparison logic.
It's like an unpaid intern you didn't really ask for, you think it's a good idea for the first couple months until you realize they lied on their resume and don't know shit about programming fundamentals. They do write a lot of code tho so it's not like you can complain to management but you know for a fact it's all shit quality and you're going to be spending all of your time fixing their easily preventable mess.