TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Has anyone had even minor success with LLM powered code completion?

1 pointsby LiamPowell2 months ago
I keep hearing about how all these LLM code completion tools are increasing productivity on social media posts, yet every time I&#x27;ve tried one they&#x27;ve generated complete garbage for even the most simple tasks. Below are some examples:<p>- Here I&#x27;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:&#x2F;&#x2F;files.catbox.moe&#x2F;4yqz09.png<p>- Here&#x27;s a 128 line Python program where I&#x27;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:&#x2F;&#x2F;files.catbox.moe&#x2F;p4c5io.png<p>- Here I&#x27;m writing the same line over and over for each member of a record. Once again it just makes up a name that doesn&#x27;t appear anywhere in the codebase. There&#x27;s also hundreds of lines of the exact same thing above this, not just the few shown here: https:&#x2F;&#x2F;files.catbox.moe&#x2F;8o8lgg.png<p>This type of thing is the usual case every time I&#x27;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?

1 comment

uberman2 months ago
The completion seems good to me. In fact suggesting &quot;speed&quot; as a parameter seems unexpectedly good rather than nonsensical.<p>In any case, even if you dont like speed, the actual code is spot on.<p>Foes anyone really expect better than what your images show which in my opinion is pretty damn good. Do you really expect to write a program just mindlessly hitting tab all day long?
评论 #43310997 未加载
评论 #43313229 未加载