• Post Reply Bookmark Topic Watch Topic
  • New Topic

CodeExchange - A new Java code search engine  RSS feed

 
lee martie
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks!

Looking for Java API usage examples or algorithm implementations? Check out CodeExchange, our new Java code search engine.

We are trying to improve code search and we would really appreciate your feedback on what works and doesn't.

Thanks!
 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
lee martie wrote:
Looking for Java API usage examples or algorithm implementations? Check out CodeExchange, our new Java code search engine.

We are trying to improve code search and we would really appreciate your feedback on what works and doesn't.


Question. What is the main purpose of this search engine? Is it supposed to get me to a product that solves the problem? Is it supposed to get to source code for the product that solves my problem? Not sure how the search engine would accomplish the first. And not sure how you would compile after getting the second.

Or it is to search for example code for particular algorithms?

I did a couple of searches, got a few interesting hits, but ... still not sure on how to use this search engine.

Henry
 
lee martie
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Henry!

The main purpose is to help you find Java Classes that can help you get started in using an API or implementing an algorithm.

For example, suppose you wanted to create an XML parser, do some image processing with JavaFX, or parse strings
with a regular expression but did not know how to do that. You could look at how other people have done it by searching for it on CodeExchange.

It could also be used to check your algorithm by looking at how others have implemented it.

Yet another case is where you can directly reuse a part of the code you find and try to integrate it into your own.
For example, this could be copying and pasting a method that walks a file directory, or some object instantiation code for the SimpleDateFormat object that has the date configuration you want.

We have included some example searches here: http://codeexchange.ics.uci.edu/examples.html

Hope that helps! Thanks for the feedback!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!