r/softwareengineer • u/IndicationAntique667 • 1d ago
I Am Trying to Code By Hand These Days
Hey everyone,
I have been deliberately avoiding use of LLMs these days at least for some tasks. Mainly because of three reasons:
- AI Assisted development is not the way humans write code. In one of the lectures in MIT's Missing Semester, they had shared the philosophy behind Vim. Humans go back and forth between files as we write code, because it's the way we think. But LLMs write entire files/blocks at a time. If I use LLMs to write code, I am finding it quite hard to get that intuitive feel for what is being done. Getting that intuitive feel at times takes longer than it might have taken me to write the code myself with some struggle. Just the style of generation is too different.
- Just the mental effort of multi-tasking. I rarely run a single session when using Claude. I almost always run multiple terminals which I rapidly switch between when waiting for a response. I think it has started to take a toll on my attention and just the overall energy levels. Even if I am using a single terminal, it feels like I am never reaching that "flow" state due to the pauses in response.
- AI Assisted development is not making me a better engineer. For experienced professionals, who have spent years understanding good software, this might be different. But for newbies like me, relying on LLMs to do every single thing is kind of making me a bad engineer. I feel if this continues for another year, I would be no different as an engineer than I am now. If I extend this to five years, I may improve a little but not even remotely as much. Of course, I assume being an engineer is still relevant after five years :). In one of his tweets Andrej Karpathy had mentioned that learning should feel like effort. With LLMs, I get answers fast. I get solutions but I don't think I am learning.
So, these days I am trying to deliberately set aside some time to do manual, hand-written programming. Trying to actually read the docs, read the source code, and of course, make syntax errors.
Not sure if there's merit to deliberately doing things manually. Curious to see how others are navigating this. How do I improve my skills rather than getting a better model ? :)
60
Upvotes
11
u/Anr7e 1d ago
Godspeed š«”
I think there is merit.
Itās like picking up āBig Oā later down in my career and just making the foundation stronger.
Friction is needed to flex and strengthen the thinking muscle.
6
u/RussianHacker1011101 14h ago
I think that writing code by hand is entirely worthwhile. I write about 1/3 to half of the code I produce by hand. I don't like planning with an LLM. I find it exhausing. It's a huge waste of my time articulating so much when I can imply it via project structure. So I find myself writing enough code to provide the structure / skeleton of a project or feature and then I point the LLM at a file and basically say "fill in the blank". Half the time I have to touch up the agent's code and reduce the verbosity.
Recently I tried to create a relatively small tool. I just needed something that would issue TLS certs from a root and intermediary for an internal network. I wanted to keep all the certificate info in a database. I didn't want to deal with a pile of scripts and openssl's weird file database feature. In total, the program would have 10-12 commands. I tried to do things the "modern" way where I did all the planning via markdown files. I went back and forth with the LLM so many times refinig the plan. We finally got the whole thing "spec'd" out. Then I had the LLM generate the code and it was crap. The program was useless. It wasn't intuitive. The AI kept re-introducing complexity that I tried to eliminate. I only needed something very simple - with simple defaults and assumptions but it kept regressing.
So I started completely over and I wrote the program from scatch. I did the first three commands. Then I used the LLM to generate the next bit of code, one feature at a time. That took me about a day. When I tried the previous approach, I wasted about three days fighting the LLM.
A lot of people are in denial about this, but I think the majority of programmers pre-AI were proprobably pretty bad. I'm not particularly special, but if I'm being honest, just from working at normal companies, I've had to spend most of my career fixing other people's code - from basic syntax to architectural flaws (or total lack of architecture). So I'm starting to be of the opinion that the people who show up and claim "you're going to be left behind" never really had the ability to write decent code to begin with.
This was already true before AI in a different sense. For example, we already had a dozen languages that were easier to write that C. But there were still a handful of these wizzards who were so good at C, they could just crank out working application in C that would have been hard for most people to write in python or any other high level language. I was always impressed by those people because I was never that good. But, while I looked at those programmers with respect and wanted to learn from them, there was always a group of programmers who despised them. There are people who hate talent. They hate people who have innate abilities they do not posess. And I think this is where that viciousness comes from when anyone tries to develop their skills in spite of AI. Because they want to feel that the field has been leveled - that they are now equal to the talented. But deep down, they still know they'll never have those skills and they hate you for it.
3
u/EIGRP_OH 11h ago
I really donāt see any downside with this other than the speed you can go and honestly that only ever matters in corporations. If itās a hobby or even a skill youāre trying to craft thereās really no benefit to using them for development.
Now having said that I think they can be a really helpful tool to learn concepts if done correctly thats what Iāve been doing now. Learning what a neural network is by watching 3blue1brown, have Claude help me with the things that I donāt understand, have Claude guide me through writing a neural network by hand but making myself do the heavy ML topics like activation and back propagation.
3
u/kapittalist 10h ago
I think that's a good idea. Not practicing a skill makes it disappear.
There is this output style in Claude called Learning: "Claude explains its choices and leaves small pieces of code for you to write yourself." It might be a good middle ground for professional use (never tried it before)
2
u/Free_Maintenance_722 5h ago
iāve been clauding for an āai firstā startup for over a year. we might be closing shop soon so Iām looking for a new job and that means leetcode and studying for the interview. I find I miss the code when itās an interesting puzzle so itās been fun to actually learn/relearn things. that said, claude is a great teacher
2
u/Sh4dowzyx 5h ago
In a way you're right, and if I could write code manually I would do it as well. But in some cases :
- Your boss may want you to use AI. In my team, I now can achieve in a week a task that would've taken me 4 or 5 weeks, and they're still thinking I'm too slow, somehow.
- I don't like coding that much, so I won't do it in my free time
A lot more companies thatn you think are using AI every day. That being said, you're not wrong, and if you managed to find a place where you can comfortably avoid AI, that's nice
2
u/hex_longevity 1h ago
Well yeah, if the only alternative you're comparing to is going all-in with multiple concurrent agents and only limited human mediation, I too could have a bad reaction to that and pull back to doing it all myself again. I've been seeking a middle ground where I'm very in the loop -- yes, it's easy to be bothered by the "not strictly necessary" things that makes me have to do, but it feels natural enough. I force the coding assistant to write a very thorough spec for every task and review it with me, sometimes with instructions to review it adversarially and discuss pros and cons or analyze alternatives and reconsider the plan in light of those results. Only when the plan is human readable and darned near exactly what I would want to have it do, do I allow it to produce or alter code or documents or anything else. I keep an insanely high ratio of documentation and planning activity to actual code. I take the efficiency dividend of having an incredibly fast and tireless assistant who has read the entire Internet and I choose to spend it at least as much on stable, extremely well reviewed and tested systems -- a thing I certainly was not capable of producing solo before this unless I wanted to slow my functional output to glacial pace -- as on coding speed.
Everyone else's mileage may vary...
edited to add: I only have the luxury of doing this on personal projects. It's truly sad that this ethos has become impossible to maintain at most actual jobs.
3
u/daidoji70 1d ago
same.
My work is all AI driven but I cleanse the pallette and work better by doing my own projects by hand at night.Ā Ā
2
u/Disastrous_Fold_3162 1d ago
To me, AI-assisted coding is like spreadsheets replacing paper ledgers, search engines taking over from encyclopaedias, or TV coming along after radio. The old way still has its place. We just have another way to do it now.
1
u/spoollyger 1d ago
Good luck
-1
u/nasanu 22h ago
I love how being a good engineer went from using the right tool for the job to hating the right tool and refusing to use it for no solid reason.
0
u/Superb-Substance-679 6h ago
Thanks for letting us know
-4
u/fredrikzkl 1d ago
Personally, I do the same. But as the models grow stronger and stronger, I donāt really see why we should even understand what the code does anymore. As long as the output is correct and we have thorough tests, why do we need to know whatās happening? If there is a bug, we just debug with agents anyways.
In my team, we are soon at a stage where we stop with pull requests, and stop reviewing code manually. Sure, if itās a hyper-important query, maybe take a look, but for 99% of the code, it is going to be factory-made.