Koders is a very cool source code search engine. It indexes many open source projects and covers a wide range of programming languages, including of course Java and Ruby, but also more obscure languages. Clicking on a search result brings up a very nice syntax highlighted version of the source code. Many elements in the source code (such as other class names within Java code) are themselves clickable and bring up the search results for the selected element.

This seems like a very powerful tool that could come in handy for at least two different purposes:

  1. Quickly finding the source code for an open source library that you are using (or planning to use), without having to download and unpack the source distributionl, for example in order to better understand the behavior of a class.
  2. Looking for examples of how certain classes or methods are used.

I’ll try to remember Koders the next time I run into one of these cases.