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.

How developers search for code: a case study

103 pointsby pramodbiligiriover 9 years ago

4 comments

boyterover 9 years ago
Agree with pretty much everything inside this. The big difference I note however is that my experiences with running searchcode.com suggest that for public search engines that closer to 60% of searches appear to be &quot;How to use a function&quot;. By contrast 60% of API calls appear to be looking for AWS keys, passwords and exploits.<p>This is probably totally different to search working over internal codebases however.<p>I must confess... I was originally looking from a vanity point of view and have mixed feelings to see that searchcode was mentioned in the references but not linked.
debacleover 9 years ago
Kind of funny that this is coming from Google considering how bad Google has become for code search. I wish there was a way to turn off the &quot;I&#x27;m ignoring what you searched for and returning what I think you meant.&quot; feature.
评论 #10122469 未加载
评论 #10124401 未加载
评论 #10123600 未加载
评论 #10122596 未加载
fizixerover 9 years ago
I imagine typing a code comment in my text-editor before I start writing the code (e.g., calculate fibonacci sequence) and my editor (on a machine connected to the internet) populates with sample open-source code in my language (inferred from the file extension, or shebang, etc), that I can use as a boilerplate and make changes. The populated code is one search result, with the option to look at second most relevant result, third-most relevant and so on. And it shows the source url where I can go for details.<p>I think something like this with rosetta-code snippets is very doable (a weekend project, assuming you&#x27;re good with your editor&#x27;s programmability).
评论 #10124639 未加载
nauticalover 9 years ago
25% of the total is documentation related .. Thats really interesting ... A &#x27;smartly designed&#x27; documentation website can cater to 25% of total development queries ?
评论 #10122476 未加载
评论 #10122612 未加载