TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Using AI for Coding: My Journey with Cline and LLMs

198 点作者 me2too4 个月前

13 条评论

AgentMatrixAI4 个月前
Prompt quality and knowing your domain is critical. One issue I had early on was experimenting with LLMs to generate a frontend application in a brand new framework I was unfamiliar with (Svelte at the time) which lead to situations where I would cruise along and get stuck in a loop. The other issue came from the increasing context size that led to more unpredictable behaviors (i would ask it to change the color of a button and it would completely change the entire page).<p>almost all the tools i&#x27;ve used to date for designing frontend framework, none really replaces using cursor and being able to dive deep, however cline does seem to have gotten significantly better.<p>the day where you can come back to a fully working web app with moderate complexity after cleaning the gutter is still some way off but thats the dream
评论 #42848860 未加载
评论 #42848241 未加载
评论 #42847376 未加载
评论 #42848550 未加载
ItsBob4 个月前
Anecdotal but here&#x27;s how I described using the likes of Copilot to my sceptical colleagues (they were late to the party!):<p>It&#x27;s like having a senior software dev over your shoulder. He knows pretty much everything about coding but he often comes to work drunk...<p>And that was the best analogy I could come up with: I think it&#x27;s sped up my work enormously because I limit what it does, rather than let it loose... if that makes sense.<p>As an example, I was working on a C# project with a repository layer with a bunch of methods that just retrieved one or two values from the database, e.g. GetUsernameFromUserGuid, GetFirstnameFromUserGuid and so on. They each had a SQL query in them (I don&#x27;t use ORM&#x27;s...).<p>They weren&#x27;t hard to write but there were quite a few of them.<p>Copilot learned after the first couple what I was doing so I only needed to type in &quot;GetEmail&quot; and it finished it off, (GetEmailAddressFromUserGuid) did the rest, including the SQL query and the style I used etc.<p>To me, that&#x27;s where it shines!<p>Once you figure out where it works best and its limits, it&#x27;s brilliant imo.
评论 #42852226 未加载
评论 #42852049 未加载
potatoicecoffee4 个月前
I like looking at stack overflow for coding examples and seeing a couple of nerds getting angry at each other about the best way to do stuff. or some interesting other ways of doing stuff. this is also why i come to HN! so its weird when people want to drop that small joy from their workday
评论 #42848054 未加载
评论 #42848176 未加载
评论 #42848546 未加载
评论 #42849179 未加载
lopuhin4 个月前
I find it strange that the author is really happy with the quality of string comparison here <a href="https:&#x2F;&#x2F;pgaleone.eu&#x2F;ai&#x2F;coding&#x2F;2025&#x2F;01&#x2F;26&#x2F;using-ai-for-coding-my-experience&#x2F;#backend-development-insights" rel="nofollow">https:&#x2F;&#x2F;pgaleone.eu&#x2F;ai&#x2F;coding&#x2F;2025&#x2F;01&#x2F;26&#x2F;using-ai-for-coding...</a> and while it would kind of work, it&#x27;s a very weird piece of code from ML standpoint, e.g. it&#x27;s training a TF-IDF vectorizer on just two strings being compared, which at best won&#x27;t change anything (unless the same word is repeated within one product), and is a super weird thing to do as for better quality you&#x27;d probably want to train that on some corpus, or not bother at all. And also it compare two strings as bags of words, which again is not the end of the world but maybe not what the author wants here, and if they want this then it&#x27;s not the easiest way of doing it. So it&#x27;s taking some things which can be useful when comparing texts (tf-idf and cosine similarity) but then applying them in a weird way which does not let them show their strengths.
mzhaase4 个月前
There is an enormous difference for me between inline suggestions and using chat.<p>If you use chat it&#x27;s work, and then you have to debug and understand something you didn&#x27;t write yourself.<p>Using inline suggestions is the closest I have come to plugging my brain directly into the computer. I type 5 characters and in 80% of cases the suggestion is character by character exactly what I would have written. It speeds me up enormously.
ivoras4 个月前
I did a similar thing but with backend-heavy code, and I agree with this assessment:<p>&gt; In particular, I asked ChatGPT to write a function by knowing precisely how I would have implemented it. This is crucial since without knowing the expected result and what every line does, I might end up with a wrong implementation.<p>In my eyes, it makes the whole idea of AI coding moot. If I need to explain every step in detail - and it <i>does not</i> &quot;understand&quot; what it&#x27;s doing; I can virtually the statistical trial-and-error behind its action - then what&#x27;s the point? I might as well write it all myself and be a bit more sure the code ends up how I like it.<p>link: <a href="https:&#x2F;&#x2F;www.linkedin.com&#x2F;feed&#x2F;update&#x2F;urn:li:activity:7289241001691377664&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.linkedin.com&#x2F;feed&#x2F;update&#x2F;urn:li:activity:7289241...</a>
评论 #42845788 未加载
评论 #42846951 未加载
评论 #42850230 未加载
评论 #42847189 未加载
numba8884 个月前
Looks outdated by now. Try R1.<p>Seriously, I&#x27;ve been using LLMs for coding for a while and can say early experience was disappointing, but they get better and better fast. The latest o1 looks a lot better than 4o. It&#x27;s reasonable to expect with proper human supervision and interface they will be able to handle big files and projects in a year or two. Interesting times...
评论 #42848865 未加载
outside12344 个月前
This is a pretty basic write up. Is there anything out there that does a survey of all of the things people have found to be successful in an engineering system for a project?<p>(eg. Github Copilot for PR reviews, etc.)
评论 #42849367 未加载
cyanydeez4 个月前
Anyone got a line on a local first AI Tooling. Happy to pay100$. Don&#x27;t want a subscription.
评论 #42847563 未加载
评论 #42846477 未加载
评论 #42845893 未加载
评论 #42846254 未加载
评论 #42848151 未加载
评论 #42847782 未加载
cube22224 个月前
Yeah this seems to be similar to my experiences.<p>I use Zed’s AI assistant with Sonnet, and will generally give it 10-20k tokens of sample code from elsewhere in the codebase, shared libraries, database schema, etc. and more or less have a very specific expectation of exactly the code I want to get. More often than not, it will succeed I’ll get it faster than typing myself.<p>However, it’s also pretty good at poking holes in your design, coming up with edge cases, etc. Sure, most of its observations will likely be moot somehow, but if it lists 10 points, then even if only 2 are valid and I didn’t think of, it’s already valuable to me.<p>I’ve also used Cline a bit, it’s nice too, though most of the time a single run of Claude works just fine, and I like Zed’s AI Assistant UX (I actually don’t use it for coding other than that).
评论 #42847383 未加载
koinedad4 个月前
Was this blog also written by LLM?
8thcross4 个月前
This was my finding as well - I now use Roo Cline tho....
SunlitCat4 个月前
Well, my experience with using an LLM (ChatGPT) for coding in a nutshell:<p>(asking Chatgpt after getting a very cut together looking example-ish example):<p>Me: You simply read various examples from the D3D12 documentation and mixed them together without really understanding them? Admit it! :D<p>ChatGPT: Haha, I admit it, that was a bit of a ‘best of DirectX 12 documentary’! But hey, I tried to build you a solid base that covers both window handling and the basics of DirectX 12.