哪里是代码审查的好地方?

发布于 2024-09-02 16:10:39 字数 514 浏览 1 评论 0 原文

我和几位同事创建了一个基于 libpcap、GTK+ 和 sqlite 的简单数据包捕获应用程序,作为我们大学网络工程课程的项目。虽然它(大部分)有效,但我正在努力提高我的编程技能,如果社区成员能够看看我们整理的内容,我将不胜感激。

这是要求此类评论的好地方吗?如果没有,我可以在哪些好的网站上提出这个问题?源代码由 Google Code 托管 (http://code.google.com/p/nbfm -sniffer),并且有一个可执行文件可供下载(仅限 Windows,尽管它可以在 Linux 上编译,并且如果安装了 gtk+ SDK,也应该在 OS X Leopard 上编译)。

谢谢大家!

-Carlos Nunez

更新:感谢大家的精彩反馈。该代码完全开源且可修改(根据 Apache License 2.0 获得许可)。考虑到我的帖子仍然很长,我希望得到更全面的反馈。

A few colleagues and I created a simple packet capturing application based on libpcap, GTK+ and sqlite as a project for a Networks Engineering course at our university. While it (mostly) works, I am trying to improve my programming skills and would appreciate it if members of the community could look at what we've put together.

Is this a good place to ask for such a review? If not, what are good sites I can throw this question up on? The source code is hosted by Google Code (http://code.google.com/p/nbfm-sniffer) and an executable is available for download (Windows only, though it does compile on Linux and should compile on OS X Leopard as well provided one has gtk+ SDK installed).

Thanks, everyone!

-Carlos Nunez

UPDATE: Thanks for the great feedback, everyone. The code is completely open-source and modifiable (licensed under Apache License 2.0). I was hoping to get more holistic feedback, considering that my postings would still be very lengthy.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

想念有你 2024-09-09 16:10:39

正如sheepsimulator提到的,GitHub很好。我还建议将您的项目发布在 SourceForge.net 和/或 FreshMeat.net。两者都是活跃的开发者社区,人们经常在这里仔细阅读像您这样的项目。对于您的代码来说,最好的事情就是有人发现它有用并决定扩展它。然后,您可能最终会得到大量错误修复和建设性批评。

As sheepsimulator mentioned, GitHub is good. I would also recommend posting your project on SourceForge.net and/or FreshMeat.net. Both are active developer communities where people often peruse projects like yours. The best thing for your code would be if someone found it useful and decided to extend it. Then, you'd probably end up with plenty of bug fixes and constructive criticism.

神经大条 2024-09-09 16:10:39

您可能会通过在公共空间(通过 github 或其他一些开放发布论坛)发布代码,在此处放置一个链接来获得一些里程,然后看看会发生什么。

您还可以将其设为开源项目,看看人们是否找到并使用它。

也许你最好的选择是与你的教授/同学交谈,找到一些愿意投入时间的专业程序员,并让他们审查代码。就像美国偶像式的评判,但是对于你的软件......

You might get some mileage by posting the code out in the public space (through github or some other open-posting forum), putting a link here on SO, and seeing what happens.

You could also make it an open-source project, and see if people find it and use it.

Probably your best bet is to talk to your prof/classmates, find some professional programmers willing to devote their time, and have them review the code. Like American Idol-esque judging, but for your software...

鸩远一方 2024-09-09 16:10:39

正如 @Noah 所说,这不是代码审查的网站。您可能会提出问题以及您为克服这些问题所做的事情,询问给定的解决方案是否是最好的。

我发现了一个简洁的小网站,可能就是您正在寻找的:Cplusplus.com

As @Noah states, this is not the site for code review. You may present problems and what you did to overcome those problems, asking if a given solution would be the best.

I found a neat little website that might be what you are looking for: Cplusplus.com

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文