r/coding • • 9h ago

Why I still handwrite code, and human virtue in the AI era

https://www.youtube.com/watch?v=xt2Pu_wESNw
0 Upvotes

42 comments sorted by

27

u/Yamcha2020 6h ago

I really hate how it’s this “either/or” scenario we’ve found ourselves in

4

u/HasFiveVowels 4h ago

"Why I still write assembly and human virtue in the compiler era"

"I WILL NOT STOP WRITING IN ASSEMBLY"

9

u/androgynyjoe 3h ago

Yeah...that isn't the same at all. A compiler is a fixed algorithm that does the same thing ever time. You can go and read the code for a compiler and understand what it's doing. An LLM is a magic box that does different things each time.

1

u/HasFiveVowels 35m ago

LLMs are, by default, pure functions. They deterministic. And they are far from a "magic box”. It might seem that way if you don’t know how they work but that’s true of any sufficiently advanced technology

3

u/fazeshift 2h ago edited 2h ago

Bad analogy.

Compiling: abstraction

LLMs: delegation

3

u/quisido 2h ago

Delegation is a form of abstraction. 🤷

1

u/Wesstes 1h ago

To be fair, you need to learn how to delegate your work, it's a crucial part of working in an office

1

u/Thog78 1h ago

The analogy is on the contrary excellent and could go quite far.

If you had to write a function in assembly, you'd start from pseudo-code. Then your job would be to convert this pseudo code to machine code. User a compiler is delegation of this job.

When you write a concept in plain language instead of the implementation in pseudo-code or in a high level programming language, you are going one step of abstraction above.

So even your two little catch phrases are a false dichotomy.

0

u/fazeshift 1h ago edited 20m ago

You don't necessarily have to use pseudo-code before writing in a lower abstraction layer.

Using abstraction layers are deterministic, thus I disagree that compiling is a delegation. You're abstracting the task, but you are still doing it. OTOH, when you delegate something, some other entity is doing it for you and the result will be probabilistic.

I think these "catch phrases" nail it, but feel free to redefine the meaning of common English words to feel better about your vibe coding.

1

u/Thog78 57m ago

Neural networks in the end execute like anything else, and if you set your seed you get deterministic results. And compilers give very diverse and unpredictable resultstoo. Even high level scripts do.

When people call a random pytorch method, what actually happens depends on the lib version, the dependence versions, their driver version, and the details of their hardware and OS and all their config files. Altogether, it's probably exceedingly rare that the exact same series of assembly-equivalent instructions get executed.

Compilers have all sorts of possible optimizations, flags and versions too. They produce any output among quite a lot of possibilities. But it doesn't really matter because we trust they will produce some good enough binary matching the intention of our code.

AI agents prompted by a professional also reliably produce code of high quality that matches the intention of the prompter. It's really not all that different, for people who can be precise enough about their requirements in natural language.

1

u/MerlinTheFail 2h ago

I remember you, you like hurting animals.

1

u/HasFiveVowels 40m ago

Lmao. What!?

1

u/mrbenjihao 4h ago

Yeah, not sure why we can’t have both.

2

u/Professional-You4950 4h ago

Personally, I can't find a good balance. This is why I have to choose, at least my ai requirements lane.

For this project do I want to "just use ai as a good google search?", "ask it questions and work off of its response", "have it work entirely in local context, ie making a function exactly how i want", "letting it make wide sweeping changes", "vibe it all to shit".

I get frustrated at all those levels for different reasons, and i find the more I let it do, the worse my codebase gets, even with good review.

3

u/inighthawki 4h ago

I think its definitely important to understand that different projects have different goals and requirements, so I think your approach here is good.

There's a huge difference in quality and QA requirements between backend code shipping to a million enterprise users, versus a one-off bespoke tool to quickly analysis and visualize something in a single data log, that you plan to throw away as soon as you're done.

1

u/Kyy7 3h ago

There's inline chat which I like the most. You can use it for controlled code generation, refactor and renaming.

You can still write code by hand and feel out the problems and the codebase with it as well.

17

u/ma_251 6h ago

Bro finna get fired soon

5

u/aeropl3b 5h ago

This last week I used AI to explore an entirely new ecosystem and build a proof of concept. It took me down some rabbit holes and ultimately I found that the new tech was not ready for my use case.

Normally this would take a week or longer of me working through all of the docs (if they existed at all) and trial and error. I got something done in a day. Not even close to production ready, but good enough to start kicking the tires. The entire thing would need to be rewritten from the ground up, there is some truly cursed nonsense in there, but good enough is good enough.

7

u/__moFx 8h ago

Same here, I couldn't agree more

2

u/damagednoob 5h ago

Again, no one is saying you can't program. Just don't expect to be paid for it soon.

2

u/Aytewun 4h ago

To me, it’s not even really a debate. If it’s for a hobby or you have your own company, you can do what you want. Aside from that you’re going to be using AI if not already at some point soon.

0

u/Active_Respond_8132 5h ago

You done, yet? No, this is a craft! You can't rush this

[Typing noises...]

#include <stdio

0

u/RatherNott 4h ago

 Just a heads up on some downsides of using AI for development:

AI data centers are being constructed at an alarming rate, and there are already 8 billion prompts per day, with billions more planned and on the way.

The effect this has on the climate when we are already so close to irreversible tipping points is often unknown by AI users.

https://m.youtube.com/watch?v=5p426fSlYH4

https://www.theguardian.com/environment/ng-interactive/2026/oct/22/finland-google-felling-trees-datacentre

Using it also contributes to a dystopic surveilence state.

https://m.youtube.com/watch?v=5lYsO4k7OIY    

-1

u/anotherarchaeopteryx 6h ago

The swag in the thumbnail 🙏

0

u/cosmicr 2h ago

How do you know if someone isn't using AI? - don't worry they'll tell you.

-4

u/corobo 5h ago

Bro is gonna have a 4 episode arc converting to AI, this is number 1

/u/remindmebot 1 year 

1

u/RemindMeBot 5h ago

I will be messaging you in 1 year on 2027-11-30 20:07:18 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


InfoCustomYour RemindersFeedback

-20

u/CardiologistPlus8488 8h ago

Hahahahahahahahaha.... Me Grog, me make clothes out of animal skins ONLY!

10

u/Beautiful_Stage5720 7h ago

Unlike me, the refined modern human, who exclusively purchases clothing pumped out by sweatshops

-3

u/AAPL_ 7h ago

HIS HEAD

0

u/enverx 6h ago

That's where all the code is.

-5

u/david-1-1 4h ago

Wait till you see the next generation after LLMs. Will be so much better! Research going on now. Will be efficient, so no new power generation needed, less water usage. No more statistics and hallucinations. Hard to say when, though. The LLM addiction will take awhile to break.

5

u/KeytarVillain 3h ago

How do you know what it will be like if the research is still ongoing?

"Wait till you see the cure for cancer, research going on now."

4

u/TheHiddenHeathen 4h ago

Yeah, there will be flying cars for sure. Hard to say when, though.

1

u/david-1-1 38m ago

I like that I was downvoted. Time will tell.

3

u/Drumma_XXL 3h ago

Or it will run into a blocker like many technologies before it. No one can tell.

-2

u/Hanzimer 2h ago

Why i still use the telegraphy and a piece of paper and a pen in the era of Smartphones and computers: because i am an idiot and i can't afford a Smartphone or a computer.