r/codedbyhand • u/bird_feeder_bird • 10d ago
Why do you like coding by hand?
I was greatly inspired by Structure and Interpretation of Computer Programs, which made me start thinking of code as the art and science of putting ideas into computable steps.
I also just cant stand abstractions and constantly need to know what everything is doing and how it works. I love developing in assembly for retro systems because I know exactly what’s going on both at the software and hardware level. This tutorial is how I got started myself. Microcontrollers are a good alternative to this if you want something more modern.
And finally, I got into programming in the first place because its an interesting hobby that also keeps my mind sharp. I dont want to make products, I want to use the computer! Its like telling a potter to ditch their wheel and just buy a bowl from walmart.
3
u/bird_feeder_bird 10d ago
Also tangential, but I cant stand IDE’s, they’re just unnecessarily complicated and hurt my eyes. Notepad, the terminal, and shell scripts are more than enough.
32
u/mightshade 9d ago
Because coding is design. As a software engineer, designing good solutions given various constraints (including time and budget) is an important part of my job. Programming languages, being formal languages, force me to be extremely precise and point me towards gaps and contractions in my understanding (at least if I model the domain well enough). Basically, coding is a tool for thinking and code is your formalized understanding of the problem and the solution. That a computer can also execute it is almost a by-product.
At least that's my philosophy. Writing a "comprehensive spec" in natural language that an LLM can "just translate to code" is a futile idea in my eyes. It's like trying to do advanced maths without mathematical notation. Similarly, claiming "coding is dead" is like claiming "thinking is dead" and that's just not for me.
30
u/ventZl 10d ago
Coding isn't the interesting part. Thinking is.
My open-source project has roughly 28k lines of everything - source code, build system, documentation, READMEs, scripts. Everything. That's 400 lines per month on average. No problem to write that in a day or two.
The interesting part was to find out which 400 lines to write. And in realms of microcontrollers, the interesting question also is: shall I write them at all?
35
u/Evgenii42 10d ago
I like coding by hand because it's intellectually stimulating. I hate monotony, but coding always presents you with novel challenges. It's the process of struggling and solving them than gives me pleasure.
11
u/P-39_Airacobra 9d ago
Coding is a game. I don’t like cheating. I also don’t like extraneous abstractions. I think over-abstraction is one of the biggest reasons software is annoying and unmaintainable.
9
u/zerg_1111 10d ago
It is just because coding by LLM is wrong. Machine learning is for search instead of content generation. LLM is just a statistical token matcher which searches the potential associations between tokens. It shouldn't be used for logical tasks like coding.
7
u/PlacidusInvictus 10d ago edited 10d ago
Upvote for SICP! I feel similarly about programming: that it is an art and science -- a craft -- of translating thought into code, which machines only then incidentally execute.
Nothing quite like the feeling of establishing or even elucidating the "world laws/rules" of a program.
Likewise, I got into programming because of early-age experiences with the command line, and because of code itself: interesting-looking codices with inscriptions comprising of arcane yet meaningful symbols, with the inherent power to command the computer as you see fit (as a bonus). It's like playing with magic.
6
u/dr0verride 10d ago
It is mentally more taxing to generate and check AI code than to just write it myself. The code is a byproduct of thinking and you have to engage with what you're doing.
5
u/BumperFlipper24 9d ago
Like others have said. It's the problem solving and design that's fun, having that back and forth with your compiler and trying to execute the ideas in your head.
My issues with LLMs started when I was integrating the Lua C API into a D language project. I was targeting Lua 5.2 (Debian 12 package) but all of the LLM results where about Lua 5.4 because that's what most of the web is referencing.
Now I'm working on an Assembly project and I thought I'd try again to see if the LLMs are any better. NOPE. It's insisting on x86 assembly operations that don't exist in my Risc-16 emulator.
Tl;Dr Once I'm in the weeds, the LLMs can't help me see the trees from the forgest so just forget about using them and try your brain.
4
u/ArrgsMax 10d ago
I like to know how my code base is working so I can make informed decisions when adding more code.
4
u/jimlapine 10d ago
I like to use my brain
4
u/alaricsp 9d ago
I likeaking things, and I don't trust LLMs to do a good enough job. I think the situations where people have found them helpful are either mistaken (they made some things easier but made hidden costs elsewhere) or,.perhaps, just illustrating places where modern software development is unnecessarily tedious and overcomplicated - and it would be better to fix that than just paper over it.
4
u/Aendvari 9d ago
I started programming as a hobby when I was 12, to me back then "code by hand" meant writing "code" on paper, then translating that to machine code (so many hard resets!). My parents were too cheap to buy that $300 assembler I kept asking for :D
4
u/HiIExists 9d ago
I started whith vibecoding, but when started to sumarise our chat it was so bad that I decided that I should learn coding by hand. Right now vibecoding disgusts me
4
u/sqruitwart 9d ago
I love working on complex systems and making all the little bits fit together. I like thinking about it, I like iterating on it, I like how I passively learn and learn until complicated problems become trivial for my brain to solve. Alongside code, I like painting, worldbuilding, conlanging (inventing languages) and making music for the same reason
6
u/tluanga34 10d ago
I love to control fine details on the code, and get more familiar.
3
u/MyNameIsRichardCS54 10d ago
I code by hand because I enjoy it and solving the problem and expressing that solution is very satisfying. You get a nice dopamine hit. AI takes all that away.
3
u/MasqueradeOfSilence 9d ago
I always had this goal to master computer science and software engineering, not just be a cog in the machine, or even worse, move into management (shudder). Outsourcing your work to an agent gives the illusion that you are learning and understanding, when you are definitely not. Somehow AI has managed to come for my 3 favorite things, art, writing, and code. I don't want to do a physical job or trade. I don't want to switch fields. I want to master the computer.
3
u/ThanasiShadoW 7d ago
(Hobbyist game developer)
I think it's mostly because I like having a lot of control over things I create. Also I enjoy solving problems by comparing possible solutions and how each may play out in the long run rather than getting to the end result ASAP.
5
u/Hefty-Distance837 10d ago
Buying a bowl from Walmart isn't the issue, the issue is saying that you bought the bowl so you're a potter now.
Not to mention that prompting is actually very different to buying.
2
u/EhsanSonOfEjaz 10d ago
I like coding by hand because it is something I enjoy.
Not to say that automating everything is fun, even if coding can get automated that would be great. I can then focus on building cool things.
But sadly it is not, LLMs are not trustworthy. The only people I see using LLMs to code are the ones that can't read code. Because if you knew how to read you will most certainly find issues and these small issues combine into a big issue.
2
u/amendCommit 9d ago
I love good abstractions. The ones that make up your language of choice standard library or the few well known libs that have become ubiquitous in your ecosystem because they are both useful and beautifully designed (easy to start using, flexible enough to customize for your specific needs, with internals that make sense when you hit an issue and need a deep dive). These ones can make a good dev almost as fast as an LLM, and the output of an LLM human-reviewable and trusted.
I hate bad abstractions. The ones that your mediocre lead dev imposes on everyone after reinventing the wheel and then fails to maintain because maintaining a lib is not just shipping shared code (it includes packaging and shipping for multiple platforms, anticipating changes, testing in combination with other pieces of software, documenting for humans and LLMs... most teams just don't have the resources to do that properly).
If I'm not able to design a proper abstraction, maintain it, make sure others on the team find it useful, can master and maintain it themselves, I keep to concrete code.
I still hand design abstractions when it's worth it, as I've always done, and the LLMs fill-in the blanks. I make sure LLMs don't go off track on concrete code.
I still enjoy my job. In a sense, maybe I was never a coder.
2
u/RudenwolfAnderson 9d ago
Because programming languages really do abstract something quite precise. LLMs do not.
And anyways, what we are having to maintain is code anyhow. Better to know what the code is..
2
u/mxsifr 9d ago
Vim feels good to use. It's fast. It never crashes. I can interrogate a program in lots of ways without having to switch context. It feels like building something.
2
u/TurtleFetus 5d ago
Similar to journaling, coding helps me understand the thing I'm thinking about. A problem is so nebulous and hard to grapple in my noisy head. Sorting it all out into functions and classes helps me think about it in an organized way.
If I use AI, I don't understand my problem any better. It's like someone telling you the answer to a math problem, as opposed to figuring it out yourself; or like a therapist just telling you the source of your trauma, as opposed to you coming to the realization organically. (Ever see Inception?) I do get some benefit out of writing out my question as a prompt, but I can use a rubber duck for the same effect.
Worst of all is when AI tries to explain something to you but messes up the details. It's hard to unlearn misinformation.
1
u/Zerocchi 9d ago
As simple as wanting to do stuff by myself instead of something else bothering me.
1
u/MissinqLink 9d ago
I have way more control over the finer details which often turn out to be the more important ones. Using an llm is fast but imprecise. I have tried and failed many times to get an llm to code the way I do. A chainsaw is fast but I wouldn’t use one to shave.
1
u/good_name_0 9d ago
Never really tried ai stuff, not sure what I would say to differentiate tbh
1
u/misplaced_my_pants 6d ago
Good abstractions empower you to do this more.
https://www.pathsensitive.com/2022/03/abstraction-not-what-you-think-it-is.html
1
u/YouPeopleCantBeReal4 10d ago
I don’t, I have to for my job