TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Is all code worth sharing?

3 pointsby jfeover 10 years ago
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 comments

zwiteofover 10 years ago
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 未加载
kohanzover 10 years ago
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.
cbhlover 10 years ago
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.