Ask HN: Has anyone had even minor success with LLM powered code completion?
https://news.ycombinator.com/item?id=43310437I keep hearing about how all these LLM code completion tools are increasing productivity on social media posts, yet every time I've tried one they've generated complete garbage for even the most simple tasks. Below are some examples:
- Here I'm implementing a series of procedures in exactly the same way from a list of signatures. The tool just makes up a parameter with a type that does not exist anywhere in the codebase: https://files.catbox.moe/4yqz09.png
- Here's a 128 line Python program where I'm just writing the same line multiple times with a very common sequence of words as the parameter and the suggested next parameter is just nonsensical: https://files.catbox.moe/p4c5io.png
- Here I'm writing the same line over and over for each member of a record. Once again it just makes up a name that doesn't appear anywhere in the codebase. There's also hundreds of lines of the exact same thing above this, not just the few shown here: https://files.catbox.moe/8o8lgg.png
This type of thing is the usual case every time I've tried these tools and a correct suggestion is the exception. Is this the experience that everyone else has had or do these tools actually work for some people?