Live data from Hacker News

Prevent cognitive debt by manually retyping LLM-generated code

ankursethi.com

451–460 of 479 posts

Re: Prevent cognitive debt by manually retyping LLM-generated code

#451
post #365

Earlier quoted context omitted.

LLM speedups have always been predicated on not understanding the code they produce as well as if you wrote it yourself. Reviewing even well written code to understand it in depth, has always taken longer than simply writing it yourself - let alone sloppy LLM code that you have to fix People are, in heavy LLM systems, realising that the most valuable commodity is engineers knowing WTF is going on, and that loss of un…

> LLM speedups have always been predicated on not understanding the code they produce as well as if you wrote it yourself. Reviewing even well written code to understand it in depth, has always taken longer than simply writing it yourself - let alone sloppy LLM code that you have to fix I don't think this personal opinion holds well when contrasted with reality. The truth of the matter is that in moderately large cod…

>So why are you pretending this is something new or novel?

Because as the OP of this thread and LLM users are rediscovering, that understanding is the most critical part of software development

>I don't think this personal opinion holds well when contrasted with reality. The truth of the matter is that in moderately large codebases, which is the norm in any production setting, at best you have a T-shape understanding of the system: in specific areas you might have somewhat deep understanding, but for the vast majority of the system you have at best a high level understanding of the software architecture.

I suspect a lot of people haven't worked on a system with engineers who've been there for 20 years working on it. There's simply no substitute for that kind of deep institutional knowledge, and it'll take you 5-10 years to be as productive as them simply because of that level of extreme knowledge about a codebase. It isn't as sexy as swapping jobs every 2 years though, so you have to go outside of the big tech bubble

Re: Prevent cognitive debt by manually retyping LLM-generated code

#452

As someone who’s been programming for 20 years, I have to say that programming itself often causes a kind of brain rot. I’m very glad that I can now focus on other aspects of software development. It was only with Claude Code that I realized I never actually enjoyed programming—I enjoyed building things. You can live a perfectly mentally healthy life without programming.

Good for you! Personally I'm not so much interested in building things. On the other hand, my ideal life would be to make a computer do new cool tricks all day.

Re: Prevent cognitive debt by manually retyping LLM-generated code

#453
post #353

Earlier quoted context omitted.

I've found I can get quite a bit of use out of it as a basically ever-present rubber duck. Using a cheap model, I usually spend - here's the problem I'm trying to solve: - here's my initial plan for the design: - is there anything I'm not thinking about or my plan is missing? It'll occasionally pop out a suggestion that I like more than my original plan, or it'll give me some new angles to think through the original…

I’m guilty of using this approach too and noticed that an (obvious?) side-effect is that I get fewer wonderful, human, “aha” moments with my colleagues. I mentioned this at a stand-up and only then did others think about it and notice the same of themselves. This, to me, is one of the major downsides of all this: less collaboration, more individualism

> This, to me, is one of the major downsides of all this: less collaboration, more individualism

Or put another way, it's replacing collaboration and human connection with your team with a subscription service that isolates you, makes you emotionally and cognitively dependent on the service while making your performance numbers look good. I really don't like the sound of that.

Re: Prevent cognitive debt by manually retyping LLM-generated code

#454

Earlier quoted context omitted.

> It was only with Claude Code that I realized I never actually enjoyed programming This is so real!

20 or 30 years ago, programming was reserved for people who were truly devoted to it, even when the work was a nightmare of difficulty. Now, when I talk to programmers in their 20s and 30s and ask which program they first fell in love with, there's usually no answer. I'm glad they've stopped pretending otherwise.

Nothing really wrong with that though. The amount of tech used by the average person has also increased dramatically in the same time period.

You could argue the same has happened for computer use in general or for many things.

Re: Prevent cognitive debt by manually retyping LLM-generated code

#456

As someone who’s been programming for 20 years, I have to say that programming itself often causes a kind of brain rot. I’m very glad that I can now focus on other aspects of software development. It was only with Claude Code that I realized I never actually enjoyed programming—I enjoyed building things. You can live a perfectly mentally healthy life without programming.

How do you mean building things? To be honest, I don't get excited about most products that I'm working on - that is what the money is for. The enjoyment comes mostly from technological problem solving.

I get excited for the things I built. I built them for my clients and I love that clients are genuinely happy with what I built for them. And then I send an invoice which is followed by a payment. I love that too, I love both.

I dont't love doing some obscure integration of an API that should have been dead years ago but somehow still lives. I don't like squishing bugs because something doesn't work when the Sun is in the third house of Uranus on February 31st. Those are technical problems I don't like solving.

My point is that you and I both love something else and that is totally fine. But I'm not sure if you can keep making money with only solving technical problems.

Re: Prevent cognitive debt by manually retyping LLM-generated code

#458

Earlier quoted context omitted.

There are jobs where llms can massively speed up delivery. Think about tiny/one man indie games for example, they can also get (stolen) assets almost for free. Helping with hobby projects, a subtype of that one man show. Then there are sluggish corporate jobs. Here, even 10x speed up of development won't change delivery dates significantly or at all. I am in one such job, team leader has claude code higher tier and b…

Copying is not theft.

Can we get that added to the US Constitution and the UN Declaration of Human Rights?

Re: Prevent cognitive debt by manually retyping LLM-generated code

#459
post #355
post #322

Earlier quoted context omitted.

If a computer is a bicycle for the mind, perhaps LLMs are the cars for the mind…

If a computer is a bicycle for the mind I think LLMs are a unicycle for the computer.. That’s my own personal take on it anyway.

Intriguing. Like the computer instantiated a wheel and rolls off by itself, no humans needed?

Re: Prevent cognitive debt by manually retyping LLM-generated code

#460

Earlier quoted context omitted.

I feel like you think the car analogy was a clever parallel to draw here but looking at a car centric north american population and the dimensions of a non trivial slice of them that are unable to walk a 5k, id say you made the opposite point.

You have a point based on the way I wrote it. What I was trying to get at: If you're going to walk to the store, don't push you car there! Just walk. So if you want to write code, don't retype what the LLM said, create your code from your own brain.

Ah, I agree with they way you reiterated that, that wasn't my initial read but it makes sense now :)
Post reply on HN