logoalt Hacker News

whartung06/24/20252 repliesview on HN

It's a balance I find.

On the one hand, the machines can spin up these bridges over unfamiliar code chasms.

But on the other hand, you (at least I) have no investment in the code. No familiarity with it. No "skin in the game" when I can tell the AI to just redo it.

One way around that is by using the "Chat bots as search engine", and then, rather than cut and pasting stuff into your project, type it in by hand. Even if you're just straight up copying it, by typing it in you have a bit more connection to it. When I do that I can better see the unfamiliar patterns rise out of the code. It's much better for me than just reading it.

Also gives me opportunity to tweak it as I like, which can break things, which can teach me things.

Mind, I've been advocating this "type it, don't paste it" philosophy for years and years, for any code snippet found in a book or tutorial or wherever. It's just now with the bots, the code is more tuned to our exact use case, and the incentive for moving it over is less.

But I find grabbing a blob of code, pasting it into my project, and getting errors so that I can tell the bot whats wrong is not particularly satisfying.

Watching Claude figure out its own errors even less so. (It's very cool to watch, just not very joyful to me outside of "wow, that's cool".)

On the other hand, I have no problem pasting a snippet back with a "what exactly is this doing here" to get better explanations of what I'm seeing.


Replies

caseyohara06/24/2025

> rather than cut and pasting stuff into your project, type it in by hand

This type of mechanical copying is probably very important for learning and staying familiar with what it is doing.

Just last night I had ChatGPT help me with some algebra and geometry for a hobby project I'm working on. I'm rusty and got stumped so I asked the bot to unblock me. It helpfully walked through the entire simplification / substitution / solving process step-by-step, which I manually copied down using pencil and paper. Following along like that, mechanically, really helped it click for me. I plan to do more of that.

krgyxe06/25/2025

Hard agree on this.

I've come to the point of using current AI tools as "search on steroids". For coding tasks, I now ask questions using more generic language, looking for references, and when the AI comes back with specific examples, I try to refine the question in terms of the example that the AI has given me. "Kinda like that, but inside of Book, I actually want to do X with the Author"

This makes it so that I have to manually translate code that the AI is showing me to my specific case, typing it out myself in my code's context. This has helped immensely with developing my familiarity with a couple of new (to me) frameworks, and with slowly adding to my overall understanding of what I'm /actually/ building.