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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Place to get code checked and get advice on it?

2 点作者 user48大约 12 年前
hey, recently I've had to start picking up PHP for university. As we do IT-security as a different subject I coded the first assignment for that class in PHP, to get to know PHP better and to try to fix the problem before I implement it in C++.<p>Now, I am not sure if this code and algorithm are as good as it could be (I am actually pretty sure it isn't) and I want to improve and learn. Hence I was wondering if there is a good place where people give advice on such.<p>Searching google I didn't seem to find anything matching with the terms I searched for and the forums I found usually had small snippets that were designed for other people to use.<p>Thanks in advance.

2 条评论

olefoo大约 12 年前
Post a link to your github repository in the appropriate programming subreddit for your language. Make sure that your posting declares that your code solves problem X better than anyone else. Sign off with "and I defy you to find better code in $language anywhere!".<p>This will result in dozens of helpful strangers posting detailed critiques of your coding style, logic, work flow and parentage. Ignore the invective and look for the ones that post code snippets; if a post with a code snippet says you're doing it wrong, figure out if that is truly a better way of doing things; if so, adopt it.
评论 #5463279 未加载
评论 #5463223 未加载
rileywatkins大约 12 年前
You can try <a href="http://codereview.stackexchange.com/" rel="nofollow">http://codereview.stackexchange.com/</a>.