John Lam 1997 — 2026

The sorry state of technical information

Warning: this is a mild rant.

Preamble: I’m writing this piece mostly as a direct result of spending lots of not-so-quality time with another runtime environment that begins with “J”. I don’t mean to point out any specific technology vendor in this rant: this applies to all technology vendors. Some are just more guilty than others ;)

I make my living (that is the work that pays my bills) by educating the software development community. Mostly this comes in the form of writing books and articles and speaking in classrooms and conferences. I spend lots of time suffering with poor documentation and writing lots of test code to figure out how a certain technology really works. In turn, I take that experience and distill it to its essence it when I teach a class or write an article.

Through extensive experience, I’ve found that lectures do a very poor job of transferring knowledge about how to do a task. I have found that overall, students rarely complete the labs in class perfectly the first time, even if common mistakes are pointed out in the lectures. Apparently, a fair amount of learning occurs as the information travels through your fingertips and into the software that you’re creating.

This takes me to the point of this rant: how technical information is laid out in vendor documentation. It is the exception rather than the rule where you find task-oriented documentation. When I learn a new technology, I typically like to read the why first. I want to understand why different components were designed the way they were and why they interact with each other in the ways that they do. The crucial step, however, is to translate that information through my fingertips; I need to understand how to create those components and what steps that I need to take to take to make that happen. It is here that vendor documentation usually falls flat on its face.

Vendor documentation rarely shows you how to complete common tasks. A notable exception to this observation are the Quickstart tutorials in the .NET Framework SDK. These are sets of short articles which quickly show how you can do common tasks, such as opening and reading a file from the filesystem. However, outside of this single data point, I have yet to see this in other vendor documentation (and in my defense if it exists, it sure as heck isn’t obvious - a link to these articles should be prominently displayed on the first page of the documentation). This really needs to be improved.

Book publishers should sit up and take notice of this failing as well. Today’s bloat-books that purport to answer the “How do I …” questions utterly fail in this regard as well. These books are mostly warmed-over versions of the vendor documentation and do not provide answers to a simple question like “How do I create a web service using vendor X’s technology?”

I feel that there are two broad categories of books: the “How do I …” and the “Why … ” books. Software developers rarely have the time to read from cover-to-cover a “How do I …” book. On the other hand, they should make the time to read from cover-to-cover “Why …” books, since this directly affects their fundamental understanding of the technology that they use every day. For folks (not me) who want to write “How do I …” books, your aim should be to get your reader to the point where they have code that they can test and tweak to their heart’s content as quickly as possible.

However, I feel that books fail to communicate “How do I …” information adequately. There is simply too much friction in books (when was the last time that you cracked open the CD or downloaded the sample code for a book?). I have an answer that I believe works, though, and more will be revealed in the coming weeks and months on this web log.