While lisp is old, it's never picked up many users. This is the kind of little thing which makes me not want to teach it (not just this, but just lots of little ways it seems stuck in history).
While lisp is old, it's never picked up many users. This is the kind of little thing which makes me not want to teach it (not just this, but just lots of little ways it seems stuck in history).
(with-open-file (input "foo.txt")
(loop for line = (read-line input nil)
while line
do (write-line line)))
But instead most schools only use Lisp as a vehicle for teaching the basics of recursion and functional programming, rather than as an immediately useful tool, so most students go away with the idea that that's what Lisp is used for, and attribute their difficulty understanding The Little Schemer to difficulty understanding Lisp.This was my experience too. In university, Lisp seemed like an awkward, limited language for doing some CS algorithms. So i totally overlooked it.
Fast forward 12 years later, reading in depth about Common Lisp and using it as a general purpose programming language, it's totally awesome.
Man, I sure dodged a bullet there. Some decade later, I got into Lisp in a big way (the real one); the rest is history.
Basically when the world "rebooted" into garbage collected, managed languages, it was amid a sort of Lisp amnesia. A lot of that was due to new people who had no such memory to recall.
Prior to this general movement, there were severe barriers in place against anything memory-managed.
And anyway, even if everyone who had already been programming in 1980 switched to Lisp today, it would be a drop in the bucket.
I think the original Lisp people didn't persevere enough. They peaked early. By the time Java and whatnot came around, the presence wasn't there.