PETZOLD BOOK BLOG

Charles Petzold on writing books, reading books, and exercising the internal UTM


Recent Entries
< PreviousBrowse the ArchivesNext >
Subscribe to the RSS Feed

An Experiment in Book Publishing

May 28, 2012
Roscoe, N.Y.

Books about programming have certainly become less essential over the past 15 years or so. In modern development environments like Visual Studio, you can create a simple do-little application without knowing much of anything. You can then build on that foundation by following step-by-step guides in online tutorials. If you get stuck, you can type a few terms in your favorite search engine to find a blog entry or a Q&A site such as Stack Overflow that answers your question.

The Web has demonstrated that it's greatest strength is the accumulation of information from many sources, and providing links between related concepts. However, where the Web falls down is in presenting long narratives, and I think this is a problem. For thousands of years, human beings have learned not by accumulating facts, but by following a narrative — a story that forges a path through the forest of information rather than merely describing all the trees.

The Web is so named because it is structured around the use of hyperlinks. These hyperlinks are absolutely essential in reference material, but not so much in a narrative. In a narrative, every hyperlink is an interruption — an invitation to leave the narrative to go somewhere else, perhaps to eventually return but maybe not.

Books — at least those that are written well — provide narratives that the Web does not. For example, can you imagine trying to get a big picture of the American Civil War solely from reading numerous Wikipedia articles on the subject? It's insane! You'd get a much deeper and more indelible understanding by reading a good book, such as James M. McPherson's classic Battle Cry of Freedom. One of the jobs of historians and other writers is to shape myriad facts into a narrative that engrosses our attention, and reveals how everything fits together in panoramic view.

I think programming books are similar. It's always amused me when some people describe my books as "documentation," or imply that I've taken the existing documentation and merely rewritten it. If that were the case, I'd be describing all the elements of the programming interface in alphabetical order. Once an author chooses not to alphabetize the topics, another order of presentation much be devised, and that's really the hard part.

As I'm writing a book, my primary intent is not to regurgitate the documentation but to impose a narrative on the material. This narrative has to begin with the basics and gradually introduce more and more material with a pace that neither overwhelms nor bores the reader. A narrative is necessarily a single path, and I spend much time and effort coming up with a good one. The result is a book that is best used by being read sequentially (even if I know that's not always the case).

Despite all this talk about narratives and paths, it's still hard to convince today's programmers that investing in a book might be useful. The Web provides so much free programming information that a book seems superfluous and even (if it's a very long book) intimidatingly frightening.

One of the easiest ways to convince programmers to buy a book is to make the book free. But that's not a general solution to the problem. As Stewart Brand said — in the less famous half of the paradox — "information wants to be expensive, because it's so valuable. The right information in the right place just changes your life." He might also have added that the individual who assembles and shapes the information must eat, and food usually does not want to be free.

Writing a book takes time. At my very fastest, I can only create about a hundred book pages per month of full-time work, and these pages must also be reviewed by editors and technical editors, and made to look pretty. The only way I can write a "free book" of any substantial length is for me to get paid by somebody other than the book's readers. (That's the case with my free book Programming Windows Phone 7.)

If a book can't be free, perhaps it can be very inexpensive, but there's a danger in that as well. Author royalties are based on percentages of the book's cover price, so if the book is too inexpensive, it's possible that the book might saturate the market but still not generate enough royalty income to justify all the work.

On the other hand, it's well known that a dollar in hand is worth two in the bush, so perhaps a book can have a lower price when it first goes on sale, and then a higher price later on. This provides an incentive for the potential readers who know they want the book to snap it up quickly at a lower cost, but for long-term sales to be based on a price that is more conducive to compensating the author.

What would be really nice is persuading readers to commit to buying the book before the book is even published! That's not easy (obviously) but what if these readers were given something in return? Perhaps a chunk of the book that's already been completed?

Which brings me to the subject of the 6th edition of Programming Windows. Contractually, it is the publisher who decides when a new edition of a book is warranted, and then they approach the author. I mentioned three days ago that I was persuaded to write a 6th edition of Programming Windows because of the interesting nature of Windows 8 itself. But another reason was clearly a publishing experiment worked out by Ben Ryan and Devon Musgrave at Microsoft Press that I found very seductive.

The details of this experiment are described by Devon in the Microsoft Press blog. Here's the part going on right now: Until the end of May, you have the opportunity to buy the ebook of the 6th edition of Programming Windows for just $10. For that single payment of $10, you get the Consumer Preview ebook now (almost 300 pages), the Release Preview ebook about two months from now, and the final ebook around November. Wait a few days until June, and this same deal costs $20. The longer you wait, the more you pay.

Currently, the ebook must be purchased from the O'Reilly site (link below). The ebooks are downloadable in PDF, ePub, and Mobi formats, and there is no digital rights management except that which your conscience imposes on yourself.

I love writing books. It's the hardest thing I know how to do but also the most rewarding. I don't want books to die. I want to continue being able to write books. My friends at Microsoft Press know this about me, so they probably figured that I'd be eager to participate in this experiment.

If the experiment succeeds, then Ben and Devon should receive the Nobel Prize in Publishing. And who knows? It may revolutionize the way ebooks are marketed and sold.

What's really cool is that you too can be an important part of this experiment.

Programming Windows, 6th edition

Special Price through the End of May 2012!

For just $10, you get:

(1) the Consumer Preview ebook right now
(2) the Release Preview ebook in a couple months
(3) the final ebook in November

Programming Windows 6th edition
Programming Windows 6th Edition
Consumer Preview eBook



Comments:

Oops! "The Web has demonstrated that it's greatest strength ..." -> "The Web has demonstrated that its greatest strength ..."

— Jon Forrest, Mon, 28 May 2012 15:43:03 -0400

And that's why writers need editors, and why I shouldn't self-pub. — Charles

Will "Programming Windows 6th Edition" describe how to write Windows programs that run on older versions of Windows (Windows XP through Windows 7)? Will I need to purchase the 5th edition to write programs for older versions of Windows?

— Randy Chung, Mon, 28 May 2012 15:53:00 -0400

Programming Windows, 5th edition did not cover writing applications that ran under 16-bit versions of Windows (Windows 3.1 and earlier). Similarly, Programming Windows, 6th edition, will not cover writing applications that run under Windows 7 and earlier.

If you want to write programs that run on versions of Windows prior to Windows 8, you need to write what is now called a "desktop application." If Programming Windows, 6th edition, covered both Metro-style applications and desktop applications, it wouldn't be able to cover either topic in sufficient depth. — Charles

Did it cover Windows Server 8?

— Raj, Mon, 28 May 2012 17:17:04 -0400

No. It's all Metro-style, which is an application interface. — Charles

I just wanted to say that I have been reading Programming Windows 6th Edition and the narrative approach you took is finally making XAML/Win8 development clear to me. Great book so far, keep it up!

— Dan, Mon, 28 May 2012 20:14:02 -0400

Thanks! — Charles

"If the experiment succeeds, then Ben and Devon should receive the Nobel Prize in Publishing."

If their copy of the experiment succeeds, they should receive a copy of a Nobel Prize.

OSR seems to have deleted all except one page of their experiment.

http://online.osr.com/article.cfm?article=389

They offered discounts to early purchasers. I hope they gave refunds.

— Partly discounted, Mon, 28 May 2012 22:05:06 -0400

Programming Windows, 5th Edition was a classic! I bought mine a lifetime ago (1999) when my first job out of college was Win32 Programming. I still judge programming books I read on how it stacks up against it. Sadly, only a few come close in helping me comprehend a language the way PW5e did.

— Rey, Tue, 29 May 2012 10:27:04 -0400

Why would the site (oreilly not yours) need

1. A physical address

2. 10 digit phone number

Just to allow me to purchase an ebook?

Seriously someone needs to be made to understand how crappy that is. Almost makes me want to bungy jump off something :-)

Preet in New Zealand

Preet, Thu, 31 May 2012 01:25:26 -0400

And this is different from other web sites when you pay for something by credit card? — Charles


Recent Entries
< PreviousBrowse the ArchivesNext >
Subscribe to the RSS Feed

(c) Copyright Charles Petzold
www.charlespetzold.com