Re:Google emphasizes popularity over accuracy
by teraku on Wednesday April 01, 2020 @04:22AM
(#22746748)
I had this exact thing happen to me yesterday.
I copied a function header from GitHub and searched in GitHub search for it to find the declaration. No results. Clonsed the repo, and clicked "Go to declaration" in my IDE bum "you have reached your destination".
Wtf?
Re:Google emphasizes popularity over accuracy
by TeMPOraL on Wednesday April 01, 2020 @05:33AM
(#22747037)
Yeah, GitHub's search is next to useless to me because I can't trust it. I search for a string, maybe get some results, but I can't be confident that those are all the occurences of the string I searched for.
Cloned a git repo where I thought I remembered seeing the function and 500 MB of downloading later grep confirms that I remembered correctly and that the exact keyword I had been searching for is present multiple times in the source code.
My hunch is that since coders use an ad blocker anyway, it's not financially viable to operate source code search on the public internet.