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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The best bug reports are pull requests

36 点作者 rayvega超过 14 年前

3 条评论

jjcm超过 14 年前
A friend of mine has a little poster by his wall that says, "Stacktrace or GTFO" for all people who give him bug reports. It follows the same mentality as this - the more resources you can provide a developer for a bug report, the a.) faster it'll be fixed and b.) the happier the developer will be. I think you're right though, a pull request is pretty much like spoon feeding the bug to the developer. That said, I think he's right in that it might clutter up the repo a bit with bug examples - if pull reqs for bugs become common place (and I hope they do) it'd be nice to have a way to classify them as such (or perhaps there is a way that I don't know about yet?).
评论 #2150602 未加载
评论 #2150610 未加载
评论 #2150720 未加载
评论 #2151651 未加载
wccrawford超过 14 年前
In general, when I have an issue, I try to produce a small snippet of code that shows the problem. I haven't done it as a unit test before, but I don't think I've ever submitted a bug report to a project that has them...<p>It helps both me and the developer, because the developer can run the code and see if he fixed -my- problem, rather than -a- problem, and I can run it afterwards to verify that it's fixed. I've also had it show that the same code will hit many bugs before it works... This allows the developer to fix it all the way down.
adamesque超过 14 年前
*pull requests containing a new, failing test. Love it.