Closed GoogleCodeExporter closed 8 years ago
I did a quick scan and found at least 25 examples in the API documentation. I
agree
it should be higher. I don't understand where the declaration that there are
NONE
comes from.
We've heard several times that our library is useless unless we write
documentation
that meets some unspecified standard. It's a total exaggeration, but still, I
agree
with the basic notion that more and better documentation is a good thing, and
I'd
like to have time to do it. Until I do, if fewer people are able to use the
library
than should be, I have to live with that.
Original comment by kevin...@gmail.com
on 18 Mar 2009 at 4:39
Perhaps off-topic to "more examples", but I hope to write a group of wiki pages
that
somewhat mimics this form:
http://java.sun.com/docs/books/tutorial/collections/index.html
and to some extent this:
http://java.sun.com/javase/6/docs/technotes/guides/collections/overview.html
I know this will help a lot of people.
Original comment by kevin...@gmail.com
on 18 Mar 2009 at 4:45
First of all I'd like to apologize for 'none' - it's easy to think when you
cant find anything (I browsed through
the testset too, but could not readily connect my problem/solution to it).
Having said that, first I'd like to ask where can I find them? The trouble with
javadoc is that is hardly
documents: it mostly repeats the source in another format ... unless the author
took a lot of trouble to to
explain (with examples) in the interface - I hardly ever saw that.
About the unspecified standard, that's a valid remark. However, I'd like to
point out the boost libraries
(although c++) where the documentation per library allmost always starts with a
tutorial containing ready to
use code snippets demonstrating what exactly this ibrary starts to solve.
For example (see www.boost.org for more):
- parsers:
http://www.boost.org/doc/libs/1_38_0/libs/spirit/classic/doc/quick_start.html
- network: http://www.boost.org/doc/libs/1_38_0/doc/html/boost_asio.html
Would this suit you?
As to the Sun docs you refer too, they look nice but no meat - still, I cannot
find examples and examples of
what your library tries to solve are the only thing you can convince me with I
should use it.
And note, apache commons does have examples ... (a random pick
http://commons.apache.org/io)
In conlusion, it would be helpfull to have (a lot of) examples of trivial and
not so trivial - one of spirits
examples is a parser for the C language - nature in an obvious place: the first
page you see.
Best,
Original comment by did...@gmail.com
on 19 Mar 2009 at 7:09
Original comment by kevin...@gmail.com
on 17 Sep 2009 at 5:59
This issue has been moved to the Guava project (keeping the same id number).
Simply replace 'google-collections' with 'guava-libraries' in your address
bar and it should take you there.
Original comment by kevinb@google.com
on 5 Jan 2010 at 11:09
Original issue reported on code.google.com by
did...@gmail.com
on 18 Mar 2009 at 4:06