"Beyond the fact that you will most likely find exactly the answer you are looking for, there are some other side effects."<p>That's either naive, or only looking at simple libraries, or has the luxury of taking as much time as necessary to dig/poke around, absorbing multiple author styles. My head starts to hurt after looking at often un- or poorly-documented libraries written in a mishmash of styles.<p>I often search first - google/irc/bing/mailinglists, etc - because I'll find out pretty quickly if other people are really <i>using</i> the library. They'll have found and dealt with the real world issues that come up (the docs say X, but <i>really</i>, you should do Y, because of performance, security, etc). If <i>no one</i> is using something, perhaps there's a reason - searching will turn that up.<p>Finding an error message like "Foobar is barfoo-ed on line X", then having to trace through back from line X through 30 calls, then finding that all I see is a sprintf() error message of "%s is %s" doesn't really help. Yay - I read the code! It's not useful/helpful in debugging my <i>real world</i> use of your library, not the few aspects you felt like documenting or commenting.<p>Looking at code and docs alone only solves my issues about 25% of the time - maybe up to 50% depending on the platform/problem domain. I guess all is magical in the Ruby/Rails world - <i>100%</i> of all problems are solvable solely by looking at the purity that is all Ruby code, apparently.