Scott (who has thankfully started blogging again) points out the new O’Reilly post showing the graph of technical book sales broken down by language.

Now among many other things this chart reveals that Ruby is way up in the ranks and perl (and surprisingly php, too) are down quite a bit. The chart is a comparison of Q1 2007 vs Q1 2006, so it’s a pretty small period of time, I actually would have preferred to see something like all of 2006 vs all of 2005.

This could be, as Scott suggests, the canary in the coal mine for perl. I, having heard too many times over the years about the death of perl (or indeed the death of this language or that), am skeptical of that conclusion. The first point is that Perl has a huge installed base, is a very mature language, has fantastic online and installed documentation and there’s a lot of perl books already floating around. If you go to work for a company using Perl (and there are lots of them) chances are there’s already half a dozen copies of the key books for you to borrow, obviating the need to buy. Hmm, that may seem like several points, but really it’s one fundamental point, perl is an established language not an emerging one.

Second if you look at the dates that O’Reilly has published perl books and ruby books you’ll notice something. Fully 6 new books on Ruby were published at the end of 2006 and first quarter of 2007. For perl, no directly related Perl text has been published since Building Tag Clouds in Perl and PHP in May 2006. So, there was really nothing to buy in the perl world, to boost it’s presence.

Third the chart itself, I believe, will show a hype bias. That is they count their numbers using a “language dimension” (quote theirs, not mine) - they describe it thusly:

Our view on languages is not just strictly about programming with a particular language, although we capture those very easily, but that the book being categorized has code examples in a particular language. So Flash Programming with Java would be in our Flash atomic category, but the language dimension would be Java.

In the world of programmers Perl is the language they all love to hate. I have read several books lately that have included Ruby snippets and not Perl snippets. Clearly this reflects that bias - if you believe that there are more Ruby developers than Perl developers, or that Ruby is used in more actual live projects than Perl, you are bonkers. But, in this chart (assuming I understand correctly), it would increase the number of Ruby books purchased.

I think the post is interesting and it is nice to see hard numbers on these things. But I wouldn’t read too much into it, the time span, I believe is too short to infer significant meaning.

UPDATE: Found this interesting post on a Ruby guy’s perspective. He brings up another chart (the TIOBE index, which I’d never heard of before) and analyzes it. That index is pretty interesting as well, coming at the popularity of programming languages from a completely different perspective.

← newer Afternoon awwwww… Panda edition  ↑  Breakfast Links: Transformers Trailer, Falconry & Fancy Phones older →

TwitterCounter for @nybble73