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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Is all code worth sharing?

3 点作者 jfe超过 10 年前
I personally believe that unless your code offers one or more of the following, you should keep it to yourself:<p>- a novel experience<p>- a solution to a previously unsolved problem<p>- a faster or smaller solution to a solved problem<p>What&#x27;s your opinion?

3 条评论

zwiteof超过 10 年前
Your requirements are from the perspective of people who view&#x2F;use the code. I&#x27;d argue there are many benefits for the coder by releasing code including getting feedback from the community on aspects that could be improved or changed. This learning aspect is important as well
评论 #8827215 未加载
评论 #8827221 未加载
评论 #8827217 未加载
kohanz超过 10 年前
How would you expect to achieve any of the things on your list <i>prior</i> to sharing the code with others, so that people can collaborate? You&#x27;re basically implying that none of the good stuff happens after the code goes public.
cbhl超过 10 年前
I strongly disagree. For the types of code you mention we already have avenues for this -- academic papers and publications and libraries.<p>Publishing code, say, in a GitHub profile, can serve other purposes though. Sometimes you&#x27;re applying for a job and the employer just wants to assess that you can write syntactically valid, human-readable, not-too-terrible code and use source control. For this, I&#x27;m not too terribly concerned about whether this is the millionth time solving the problem, so much as I am about excluding people who aren&#x27;t ready to be interviewed by a bona fide developer.