logoalt Hacker News

only-one170104/23/20253 repliesview on HN

I see this "prompting is an art" stuff a lot. I gave Claude a list of 10 <Route> objects and asked it to make an adjustment to all of them. It gave me 9 back. When I asked it to try again it gave me 10 but one didn't work. What's "prompt engineering" there, telling it to try again until it gets it right? I'd rather just do it right the first time.


Replies

codr704/23/2025

We used to make fun of and look down on coders who mindlessly copy paste and mash the compile button until the code runs, for good reasons.

show 1 reply
pdimitar04/24/2025

Then don't use it? Nobody is making you.

I am also barely using LLMs at the moment. Even 10% of the time would be generous.

What I was saying is that I have tried different ways of interacting with LLMs and was happy to discover that the way I describe stuff to another senior dev actually works quite fine with an LLM. So I stuck to that.

Again, if an LLM is not up to your task, don't waste your time with it. I am not advocating for "forget everything you knew and just go ask Mr. AI". I am advocating for enabling and productivity-boosting. Some tasks I hate, for some I lack the deeper expertise, others are just verbose and require a ton of typing. If you can prompt the LLM well and vet the code yourself after (something many commenters here deliberately omit so they can happily tear down their straw man) then the LLM will be a net positive.

It's one more tool in the box. That's all there is to it really. No idea why people get so polarizing.

tmpz2204/23/2025

Prompt engineering is just trying that task on a variety of models and prompt variations until you can better understand the syntax needed to get the desired outcome, if the desired outcome can be gotten.

Honestly you’re trying to prove AI is ineffective by telling us it didn’t work with your ineffective protocol. That is not a strong argument.

show 1 reply