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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: How are you using LLMs for coding?

2 点作者 mraza00717 天前
What have been your tips and tricks when coding with LLMs

3 条评论

benoau17 天前
Whenever it gets in a cycle of fucking up, I ask it to break the code down into smaller functions and write a test suite for each individually.<p>Tell it what language or packages to use or it might make selections that add dependencies or require installing stuff on your computer.<p>Tell it how you want your code written or it will be an extra chore to accommodate linting requirements.<p>Basically just being very explicit.
GianFabien17 天前
I mostly write low-level code in Python and JS. When working with a new API, I would sometimes find it difficult to locate information to fix problems. With ChatGPT I simply <i>rubber duck</i> my problem. It usually only takes a couple of iterations to zoom into the core solution.
Flundstrom217 天前
Copilot in visual studio to fix compiler errors and let it type all the boilerplate code by TAB-ing. Sometimes it even manages to spit out an entire - and correct - function.<p>Mistral Le Chat for more advanced questions and figuring out things that copilot can&#x27;t.