DE version is available. Content is displayed in original English for accuracy.
Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
56% Positive
Analyzed from 873 words in the discussion.
Trending Topics
#claude#write#code#writing#tell#before#prompt#project#existing#llm

Discussion (26 Comments)Read Original on HackerNews
https://www.pangram.com/history/dee030c0-0362-43d0-8fbd-bbab...
I do that for most of my docs because I ramble.
I prefer my rambling, but I think others like the tidied up LLM summary.
How does this document score - just wrote it today, used Gemini to sum it up: https://github.com/cuzzo/clear/blob/master/docs/retrospectiv...
1) Let people know that you did that
2) Try to include a link to the prompt and your original version of the writing, even if it is in your native language
This will help people understand what you wanted to say.
On the other hand, if you just tell it to do a thing, I could believe that it would just do the thing. It is pretty bad at high level design judgment. Human guidance on architecture choices results in much better output.
Then, you tell your AI to stick to that rule, and it will. There are tradeoffs to each choice, and people fall into different camps. Make your choice, write it down, and tell the AI to always follow that rule, and then you have it your way.
If you want a particular implementation approach, you need to specify not only the features you want, but the implementation strategy at least at a high level. This could be as simple as adding "use pywikibit" or "use relevant packages from pypi" to the end of your prompt. Or you could seed your project with some manually writtem scaffolding, including a pyproject.toml
While LLMs do tend have NIH syndrome by default, I think this is a good default. I'd much rather have tight control over when and how to include external dependencies as opposed to letting a prompt fire for 40 minutes, and coming back to find 2 GB of newly installed node packages with a dependency tree 300 levels deep.
If you tell it to leverage dependencies, it will. If you (like me) prefer that it avoid dependencies, it will.
The tradeoffs are very different with AI code than human written code. There are still tradeoffs, but they are different now.