Five Months of eBook Sales

April 24, 2012 📬 Get My Weekly Newsletter

I really enjoyed reading Jesse Storimer’s recent post, 4 Months of ebook Sales, about the sales of his book “Working with Unix Processes”. His feelings echo my own regarding my book, “Build Awesome Command-Line Applications in Ruby”:

I’m ecstatic with the results so far, but I have no idea how they compare.

Our books complement each other quite well, and came out around the same time. He wrote his largely on his own, going the self-publishing route, while I wrote mine with the Pragmatic Programmers. I thought I’d write a similar piece from my experience going the “traditional” route.


I wrote an initial draft of “Build Awesome Command-Line Applications in Ruby” over November 2010, as part of PragProWriMo. I wrote almost every day, and had about 170 pages of Markdown written at the end. I hadn’t thought too far ahead, but in January of 2011, I decided to submit it to the Prags and see if they were interested.

To my surprise and excitement they decided to go forward with it! I had no idea what to expect, but figured that since I had a good 75% of a “real” book done, it shouldn’t be too much more work for me to finish up the first draft and clean it up. Boy was I wrong.

I spent the next 11 months on the book, reaching “done” by February of this year. That may seem like a long time (it certainly did to me). The reason it took “so long” was entirely due to working with a publisher and editor, but I don’t mean that as a negative. It actually needed to take that long, and the book I shipped was markedly better than anything I would’ve done on my own.


The Prags don’t just take your manuscript, spell-check it and ship it. They assign a development editor to each book. I had no idea what this was; I thought editors fixed spelling and grammar mistakes. Instead, John Osborn, my editor, provided deep and insightful feedback on every aspect of the book. Did the sections flow together? Are the titles consistent? Did the examples make sense? Of course, I had created plenty of passive voice, subject/verb disagreement and other “advanced grammar mishaps” to keep John quite busy.

Identifying these issues in your own work is hard. It’s also just not possible to get real, usable feedback on your work. Friends and colleagues just won’t give you the brutal, honest feedback you sometimes need. It had been a long time since I’ve been given this sort of feedback, and it hurt a bit (at first) to read comments like these:

  • “The overall premise of the book is not immediately clear.”
  • “The audience level remains unclear.”
  • “After a while…it just gets wearing. Why should I bother to read yet one more example when I know that I’ll be told this was the wrong way to do it?”

These came after John and I had spent a lot of time working my initial manuscript into something publishable, and had gotten a lot of positive feedback from the tech reviewers. Based on the publisher feedback, we were looking at an almost total rewrite, and I wasn’t too happy about it. But, I really believed in the book and wasn’t about to quit now, so I trusted the publishers. Recognizing their experience, I treated this as a learning opportunity. So we persevered.


Three chapters later, it was so clear to me that I had been wrong that I couldn’t believe I had felt otherwise. And, I never would’ve gotten there without such honest feedback and a literal team of professionals1 working to make my book as good as it could be. In the end, the book bears little resemblance to what I had produced during PragProWriMo, and, while I probably could’ve gotten that into a “sellable” shape, it would not have been nearly as good.

So, a total of 15 months of work, including an almost total rewrite, all on my own time, with no money up front. Was it worth it? Absolutely. But, how has it been selling?

On the one hand, I’m not sure. I don’t know how many copies of my book will “pay for” the development costs, or how many will make the publishers “happy” with the result (I’ve put off asking in case the answer is “way more than you’ve sold”). I do know that I’ve sold more than I thought I would, and although I’d love to sell more, I’m really happy with how it’s done.


As of this post, I’ve sold around 3,000 copies from the Pragmatic Programmers online store2. I don’t yet know how many I’ve sold from other channels such as Amazon or Barnes & Noble – hopefully a lot – but sales from the Prags’ store alone feels like more than I was expecting.

Of course, I don’t make as much per book as Jesse does3; that team I mentioned doesn’t come free. But, being featured on the Pragmatic Programmers’ website is unbeatable promotion. This certainly drove a lot of sales. It’s my hope that sales are higher than they would’ve been had the Prags published a version of the book I had originally written, but there’s no way to know for sure.

Now, I don’t mean to imply Jesse’s book is poorly written; it’s not at all. Would it be better if it were edited professionally? I suppose that depends on what you mean? Would it be better written? Certainly; most writing improves with editing and revising. Would it have sold more? Would it have sold enough to cover the costs and time of editing? Again, there’s no way to know.

So where does this leave us? I know that working with John and the Prags has made me a better writer, but would I be confident enough to “go it alone”? Given my lack of notability, I feel I benefit greatly from having my work published and distributed by the Prags. Further, knowing my writing style and abilities as I do, my work will be much higher quality with a team of professionals in my corner.

That being said, I’d still love to try self-publishing at some point, but I’d really love to read a book by Jesse developed with the Pragmatic Programmers.

  1. 1In addition to John, Dave, and Andy, the Prags employ copy editors, sysadmins, indexers, and probably many others that I don't even know about that turn my XML and code into a beautiful book to read on paper as well as every reading device there is.
  2. 2The breakdown is about 10% paper/90% electronic, which seems about right.
  3. 3It's worth pointing out that the Prag's contract is very generous compared to most other publishers.