Domain: codefetch.com
Stories and comments across the archive that link to codefetch.com.
Comments · 8
-
semi-formalized
Some people are already doing this, such as koders, code fetch, codase, and snippets. Talk to them for formalizing as I'm sure they have some good input.
-
Re:This could represent a step forward
check out http://www.koders.com/ http://www.codefetch.com/ http://www.codase.com/ http://www.bigbold.com/snippets/ and http://swik.net/ sometime.. plenty of source code out there to learn from.
-
Re:Limited languages at present
Thanks, that's a cool site!
The examples it pulled up for me all used sed, though, and I've already got a somewhat lame method that doesn't require anything but bash.
I always try to minimise my use of external calls, regardless of language, in order to keep my code as portable as possible. Obviously there are limits, I use Graham Barr's LDAP perl modules rather than try to write my own LDAP routines for every perl hack I might need! But for this job I'd rather not call sed, gawk, grep, and friends unless it's really absolutely necessary.
I've bookmarked codefetch for future reference. Thanks again! -
www.codefetch.com is another resource
http://www.codefetch.com/ is a search engine that searches a very useful collection of code: the source code from programming books.
Neither koders nor krugle cover that, plus codefetch searches the APIs of several languages, java, ruby, php, for example.
Finally, unlike koders, codefetch lets you do a true full-text search, just like in a text editor-- go ahead, search for "+=" and you can even use a few regular expressions. -
Re:What I'd like.. Google with regex
http://www.codefetch.com/ offers a limited regular expression search as one of its main features. And it can do a true full-text search: You *can* search for "#!" for instance.
Its not Google, but it does search a lot of good code from published books. -
Re:Limited languages at present
http://www.codefetch.com/ does let you search for bash scripts. Choose "Unix / Shell" from the main page.
Codefetch lets you know how much material it can search for a language and you can see by the single dot that it doesn't have a lot for bash but it still should have enough to help you. -
Re:koders
http://www.codefetch.com/ searches a very useful collection of code: the source code from programming books.
Neither koders nor krugle cover that, plus codefetch searches the api of several languages, java, ruby, php, for example. -
Authors have responded positively to Codefetch.com
I run a source code search engine with a business model not unlike Google print. I was nervous about how authors would take to having their source code searchable, but the only response has been positive, mostly consisting of authors asking how they can add other books of theirs to the index.