iflisp.txt 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. May 2003If Lisp is so great, why don't more people use it? I was
  2. asked this question by a student in the audience at a
  3. talk I gave recently. Not for the first time, either.In languages, as in so many things, there's not much
  4. correlation between popularity and quality. Why does
  5. John Grisham (King of Torts sales rank, 44) outsell
  6. Jane Austen (Pride and Prejudice sales rank, 6191)?
  7. Would even Grisham claim that it's because he's a better
  8. writer?Here's the first sentence of Pride and Prejudice:
  9. It is a truth universally acknowledged, that a single man
  10. in possession of a good fortune must be in want of a
  11. wife.
  12. "It is a truth universally acknowledged?" Long words for
  13. the first sentence of a love story.Like Jane Austen, Lisp looks hard. Its syntax, or lack
  14. of syntax, makes it look completely unlike
  15. the languages
  16. most people are used to. Before I learned Lisp, I was afraid
  17. of it too. I recently came across a notebook from 1983
  18. in which I'd written:
  19. I suppose I should learn Lisp, but it seems so foreign.
  20. Fortunately, I was 19 at the time and not too resistant to learning
  21. new things. I was so ignorant that learning
  22. almost anything meant learning new things.People frightened by Lisp make up other reasons for not
  23. using it. The standard
  24. excuse, back when C was the default language, was that Lisp
  25. was too slow. Now that Lisp dialects are among
  26. the faster
  27. languages available, that excuse has gone away.
  28. Now the standard excuse is openly circular: that other languages
  29. are more popular.(Beware of such reasoning. It gets you Windows.)Popularity is always self-perpetuating, but it's especially
  30. so in programming languages. More libraries
  31. get written for popular languages, which makes them still
  32. more popular. Programs often have to work with existing programs,
  33. and this is easier if they're written in the same language,
  34. so languages spread from program to program like a virus.
  35. And managers prefer popular languages, because they give them
  36. more leverage over developers, who can more easily be replaced.Indeed, if programming languages were all more or less equivalent,
  37. there would be little justification for using any but the most
  38. popular. But they aren't all equivalent, not by a long
  39. shot. And that's why less popular languages, like Jane Austen's
  40. novels, continue to survive at all. When everyone else is reading
  41. the latest John Grisham novel, there will always be a few people
  42. reading Jane Austen instead.