This post from today by Martin Fowler is pretty cool: An example of LLM prompting for programming
- https://news.ycombinator.com/item?id=35612494
- https://martinfowler.com/articles/2023-chatgpt-xu-hao.html
// function that does XYZ
Hit enter, see the function suggestion and hit tab to accept it if it looks good. Sometimes I will reference specific variables or methods I want to it to use, again in the code comment. Which is much faster than writing the code block from scratch.
I also accept small autocompletes from it when I'm writing the code myself, it seems like a more powerful autocomplete in general.