Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

it's wild, I work with some fortune 500 engineers who don't spend a lot of time prompting AI, and just a quick few prompts like "output your code in <code lang="whatever">...</code>" tags" — a trick that most people in the prompting world are very familiar with, but outside of the bubble virtually no one knows about — can improve AI code generation outputs to almost 100%.

It doesn't have to be this way and it won't be this way forever, but this is the world we live in right now, and it's unclear how many years (or weeks) it'll be until we don't have to do this anymore



Can you clarify what this XML tag formatting does?

I use Claude Code and Gemini CLI pretty extensively and haven't come across this yet.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: