Skip to main content
gamedev.net
🔒 Locked

Google Code Search

Started by LessBread Oct 5, 2006 at 5:12 PM 6 replies 1.3k views
gumpy
gumpy
i was going to post this too. i haven't tried it yet, but it looks like a damn good resource. i'm guessing it's finally time i got more experience with regular expressions.
This space for rent.
lethalhamster
lethalhamster
Cool. Too bad its not much use to me, seeing how I sort of gave up on coding after trying to teach myself C++, SDL and Python, failing each time.
............Could Jesus microwave a burrito so hot that he himself could not eat it?
LessBread
LessBread
Here's commentary from eWeek: Google Launches Code Search for Script Kiddies

Quote:

...
The new search tool includes ZIP files as well as CVS repositories, and offers more precise special character searching. Unfortunately, the code search engine (still at the early beta stage) has a few problems, chief among which is that it doesn't give the searcher any context for what it finds.

"It just searches indexed code from anywhere on the Web. Most of this is production code, not code snippets or tutorials," said Chris McClelland, developer of AJAXPress. "The code you can get from code search could be wrong, a bad way to do things, simply not work, etc."

His recommendation: Google needs to include code from tutorials and code snippet Web sites, such as this one, and tell searchers which sites are being indexed, perhaps even provide a quality score for each. Otherwise, searchers could accidentally copy bogus code indexed in the engine.

"Code snippet databases are much more useful," he said, noting that much of the code returned is from open-source projects that are in continual development. "It's like a textbook. [Developers] go for primary sources, not for what anybody will tell them."

Chris did a sample search for "XMLHttpRequest" and found that Google, unlike Krugle or Koders, returned mostly &#106avascript. However, a search for "@" returned 11,300,000 e-mail addresses.<br><br>Google Code Search could also prove to be a tool for malware writers to distribute their code, he warned.<br><br>A representative from Google said Code Search was a labs project and that improvements were coming.<br>...<br><!--QUOTE--></td></tr></table></BLOCKQUOTE><!--/QUOTE--><!--ENDQUOTE--><br><br></td></tr></table></blockquote>
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes." - the Laughing Man
IFooBar
IFooBar
Quote:
Original post by LessBread
Here's commentary from eWeek: Google Launches Code Search for Script Kiddies

Quote:

...
...

Chris did a sample search for "XMLHttpRequest" and found that Google, unlike Krugle or Koders, returned mostly &#106avascript. However, a search for "@" returned 11,300,000 e-mail addresses.<br>...<br>...<br><!--QUOTE--></td></tr></table></BLOCKQUOTE><!--/QUOTE--><!--ENDQUOTE--><!--QUOTE--></td></tr></table></BLOCKQUOTE><!--/QUOTE--><!--ENDQUOTE--><br><br>spam bot heaven?</td></tr></table></blockquote></td></tr></table></blockquote>
[size=2]aliak.net
trevaaar
trevaaar
Uhh... the topic with an almost identical title 2 topics above this is telling me that this is a repost.
LessBread
LessBread
Yep, Google Codesearch
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes." - the Laughing Man

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.