Forum Navigation
Tango Almanac
Posted: 06/19/07 17:11:42 Modified: 06/19/07 17:12:58Once upon a time, I had a copy of this: http://www.amazon.com/Java-Developers-Almanac-1-4-Reference/dp/0201752808
It saved me endless hours of scouring through message forums and endless pages of javadoc, just to find some obscure piece of functionality that nobody else ever used.
Anyway, the lack of a functional directory or almanac for Tango has caused me some headache since half this stuff was in Mango. As much as we do our best to organize code into a good tree of widgets, the namespaces only do so much to convey what operations are encompassed within. Even a site-wide search will only reveal method names and tutorials, which isn't enough when you're looking for how to properly compose objects together for various tasks.
For example, Tango's IO model allows for some very inventive object compositions that are not at all obvious to the first-time user. Doubly so for people that are used to working with stream-oriented IO. While these things could be placed in the API documentation, you could easily quadruple the size of those pages covering all the possibilities - and that's probably a bad things since it abuses the intent and scope of the document.
FWIW, even Phobos' documentation has this weakness. Folks are always asking in D.learn how do to things that aren't always obvious from the docs.
Another take on this is what the ColdFusion? and PHP online doc pages have become. The various comments sections are probably more useful than the formal docs themselves, becuase they're rife with so many use-cases and practical examples. While we're looking to foster that kind of invovlment here, I think we can do even better.
So what I think is needed is a Tango Almanac section of the wiki that lists, by task, various things that people are going to want to know how to do. Any given task description wouldn't have to include much; just a code snippet and two lines outlining what the snippet does (to facilitate searching). This way, it doesn't become the drudge that writing a formal tutorial section usually entails.
I know this looks like a massive undertaking if looked at on the whole. Instead, I think this where the power of a wiki can really shine for Tango. We need to set up a few starter entries, and encourage people to post their own experience. Additional entries can also be harvested from the forums and comments sections as time goes on.
-- EricAnderton at yahoo