May 2003If Lisp is so great, why don't more people use it? I was asked this question by a student in the audience at a talk I gave recently. Not for the first time, either.In languages, as in so many things, there's not much correlation between popularity and quality. Why does John Grisham (King of Torts sales rank, 44) outsellJane Austen (Pride and Prejudice sales rank, 6191)?Would even Grisham claim that it's because he's a betterwriter?Here's the first sentence of Pride and Prejudice:It is a truth universally acknowledged, that a single man in possession of a good fortune must be in want of awife."It is a truth universally acknowledged?" Long words forthe first sentence of a love story.Like Jane Austen, Lisp looks hard. Its syntax, or lackof syntax, makes it look completely unlike the languagesmost people are used to. Before I learned Lisp, I was afraidof it too. I recently came across a notebook from 1983in which I'd written:I suppose I should learn Lisp, but it seems so foreign.Fortunately, I was 19 at the time and not too resistant to learningnew things. I was so ignorant that learningalmost anything meant learning new things.People frightened by Lisp make up other reasons for notusing it. The standardexcuse, back when C was the default language, was that Lispwas too slow. Now that Lisp dialects are amongthe fasterlanguages available, that excuse has gone away.Now the standard excuse is openly circular: that other languagesare more popular.(Beware of such reasoning. It gets you Windows.)Popularity is always self-perpetuating, but it's especiallyso in programming languages. More librariesget written for popular languages, which makes them stillmore popular. Programs often have to work with existing programs,and this is easier if they're written in the same language,so languages spread from program to program like a virus.And managers prefer popular languages, because they give them more leverage over developers, who can more easily be replaced.Indeed, if programming languages were all more or less equivalent,there would be little justification for using any but the mostpopular. But they aren't all equivalent, not by a longshot. And that's why less popular languages, like Jane Austen's novels, continue to survive at all. When everyone else is reading the latest John Grisham novel, there will always be a few people reading Jane Austen instead.