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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Talk is cheap, just show me the code

52 点作者 liuxiaopai超过 3 年前

10 条评论

vestrigi超过 3 年前
I think you should provide the source of the results. Also, I don&#x27;t agree with the premise that to solve a problem all it needs is a code block and the explanation given is not relevant. I mean we often do just that but understanding why a solution will work or why not is key to learning how to do things in the future without looking them up. Another problem with the lack of comments is that the reader won&#x27;t notice that a solution is outdated, even though someone noted that on the original StackOverflow page that the snipped originates from.<p>Despite that the project looks very clean and fast for its start and I haven&#x27;t encountered any technical problems :)
maxverse超过 3 年前
If I am guessing correctly, this is hitting the StackOverflow API and grabbing just the code bits of the answers? The SO upvotes seem to match the star count.<p>Ex:<p>1. <a href="https:&#x2F;&#x2F;justshowmethecode.com&#x2F;code-example&#x2F;ruby-on-rails&#x2F;1k9gy&#x2F;rails-postgres-drop-error-database-is-being-accessed-by-other-users" rel="nofollow">https:&#x2F;&#x2F;justshowmethecode.com&#x2F;code-example&#x2F;ruby-on-rails&#x2F;1k9...</a><p>2. <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;2369744&#x2F;rails-postgres-drop-error-database-is-being-accessed-by-other-users" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;2369744&#x2F;rails-postgres-d...</a>
评论 #29098619 未加载
nextaccountic超过 3 年前
&gt; How many code snippets do you have?<p>&gt; There are more than 33 million code snippets already in our database and more will come.<p>What are the authors of all this code? I presume a lot of code is copyrighted. How do you comply with the license? How can people using this site can comply with it as well?<p>Many free software licenses require attribution, for example.
d23超过 3 年前
I clicked one of your first links on the homepage and got this: <a href="https:&#x2F;&#x2F;justshowmethecode.com&#x2F;browse-code-examples&#x2F;python%20regex" rel="nofollow">https:&#x2F;&#x2F;justshowmethecode.com&#x2F;browse-code-examples&#x2F;python%20...</a><p>I don&#x27;t know what this is trying to tell me.
评论 #29104810 未加载
评论 #29116491 未加载
andrewzah超过 3 年前
The source of the code should be shown. Also, the explanation behind the code is actually usually important in understanding how to fix the problem.<p>I can&#x27;t say I like this idea of -only- looking at code. Also I don&#x27;t like the tagline of &quot;Access your required code snippets without thinking&quot;. Software engineering is mostly about thinking... not thoughtlessly typing or copy&#x2F;pasting...
austinjp超过 3 年前
Can you explain in more detail what your customers can buy for $399 per month?
lnoir超过 3 年前
I like this, I would definitely use it. I&#x27;ve been building software for years but there are still things I don&#x27;t do often enough to remember accurately. In these instances all I want is the code, I don&#x27;t need the explanation. This makes it very easy to find examples.<p>I agree with the other comments stating that you should include the source of the snippets; include the name of the site and a link back to the original post.<p>It might also be a useful feature to include the accompanying explanation — collapsed, but expandable — for those who would like quick access to it. Of course, if they are that interested I suppose they could just click on the link to the source that you&#x27;ll be providing :-)
quadcore超过 3 年前
Love it. Feedback: add programming language used in the snippet.
jasmaa超过 3 年前
This is slick. Why put the search query in the path instead of a get param though? You can&#x27;t search anything with a &quot;&#x2F;&quot;.
sergiotapia超过 3 年前
This is fantastic!