Prevent cognitive debt by manually retyping LLM-generated code
171–180 of 479 posts
Re: Prevent cognitive debt by manually retyping LLM-generated code
#172Earlier quoted context omitted.
> Cooking a steak and then flushing it straight down the toilet outperforms all the slow and tedious business of eating and digesting it, too. That would be more equivalent to writing the code and immediately deleting it. Except this code is being deployed, and it is still (mostly) functional, at least functional enough to satisfy your employer (their “hunger” in your analogy). > Why should I use an LLM to write code…
> Except this code is being deployed, and it is still (mostly) functional, at least functional enough to satisfy your employer (their “hunger” in your analogy). Bzzzt. Wrong. I don't give a fuck who's satisfied by my code. I only care about writing it. > Because your employer is convinced that it can do the job they want it to Bzzzt. Wrong. The code is incorrect because it is not precisely the code I would have writt…
Re: Prevent cognitive debt by manually retyping LLM-generated code
#173This does not sound fun. It's better to work on your side projects with manual coding. You will learn more. Retyping things is inefficient for learning. It's like trying to retype calculus solutions — you don't learn from it. Even if there is an explanation of why the code is written in such a way, you did not come up with it, and you don't know alternative solutions. It is a practice for memorizing, not for building…
I had fun and also learned a lot when I retyped programs from magazines back in the day. I am not sure if it's suitable now but there is certainly some merit to the idea.
Re: Prevent cognitive debt by manually retyping LLM-generated code
#174This does not sound fun. It's better to work on your side projects with manual coding. You will learn more. Retyping things is inefficient for learning. It's like trying to retype calculus solutions — you don't learn from it. Even if there is an explanation of why the code is written in such a way, you did not come up with it, and you don't know alternative solutions. It is a practice for memorizing, not for building…
Re: Prevent cognitive debt by manually retyping LLM-generated code
#175Re: Prevent cognitive debt by manually retyping LLM-generated code
#176Earlier quoted context omitted.
> Except this code is being deployed, and it is still (mostly) functional, at least functional enough to satisfy your employer (their “hunger” in your analogy). Bzzzt. Wrong. I don't give a fuck who's satisfied by my code. I only care about writing it. > Because your employer is convinced that it can do the job they want it to Bzzzt. Wrong. The code is incorrect because it is not precisely the code I would have writt…
Again, unless you’re the employer, then you’re getting paid by someone that cares more about productivity than whether you think LLMs produce incorrect code. All that matters is whether they agree with you. The only control you have over this is to either a) work for yourself, or b) keep looking until you find an employer that agrees with you. My argument is that the number of employers that fall under (b) is shrinki…
That's great. Sucks to be them. I've doubled my prices and doubled my time estimates and I'm still turning work away.
Re: Prevent cognitive debt by manually retyping LLM-generated code
#177Re: Prevent cognitive debt by manually retyping LLM-generated code
#178Earlier quoted context omitted.
> Except this code is being deployed, and it is still (mostly) functional, at least functional enough to satisfy your employer (their “hunger” in your analogy). Bzzzt. Wrong. I don't give a fuck who's satisfied by my code. I only care about writing it. > Because your employer is convinced that it can do the job they want it to Bzzzt. Wrong. The code is incorrect because it is not precisely the code I would have writt…
Thing is, companies don’t care if it’s not your code or your view of it. If it works, that’s what they want. Since I stopped typing code I’ve been using my time to play some video games, read some books etc while the agents do the boring stuff (work itself). I get paid, the company is more productive, I got a bonus and a raise, everyone’s happy.
The first thing I do when I'm asked to clean up the LLM slop is "rm -rf ." and start from scratch.
You will pay a fortune for this.
Re: Prevent cognitive debt by manually retyping LLM-generated code
#179Jack Kerouac famously sat down and typed "Anna Karenina" on a typewriter because he wanted to feel what it was like to "write a great novel".
Re: Prevent cognitive debt by manually retyping LLM-generated code
#180Earlier quoted context omitted.
> No, you didn't have to explicitly say it in words. My mind doesn't run on internal monologue. Many people can just do their work without ever having reflected on it in words. Were you a solo developer? I think the amount of reports and explanations (either written or verbal) dwarfs by large the amount of code I’ve written. From training juniors to drafting a design specs for a feature. That is why people say code i…
I'm in academic ML research. Coding is mostly scoped to myself. And it's often nontrivial. My communication is more in papers, reports on experimental results, deciding what to try next, but how the code is organized is rarely the focus of discussion. Of course this may be entirely different in a software shop building routine features where the difficulty is indeed the social part and the software itself is more cle…
And here’s another fallacy that is always thrown around. Always underestimating the other’s tasks when you are not an expert in it and don’t know intimately what’s involved.