4 ms·
Every sufficiently complex program implements a Lisp engine in disguise.
by naz 17y ago
Every sufficiently complex program implements a Lisp engine in disguise.
- jodrellblank 17y agoSo the saying claims. Is the point that something would be better if it wasn't disguised, or is it just a smug boast?
- pohl 17y agoCouldn't it be disguised while being an actual embedded scheme interpreter, and not be boastful?
- wmf 17y agoThe point is that you can save time by just using Lisp rather than reimplementing it. Which is what Google has done here. BTW the original is http://en.wikipedia.org/wiki/Greenspun%27s_Tenth_Rule http://en.wikipedia.org/wiki/Greenspun%27s_Tenth_Rule
- twopoint718 17y agoOr as Guile http://www.gnu.org/software/guile/guile.html http://www.gnu.org/software/guile/guile.html suggests, if you're going to add a scripting/extension language to a program, they have a way of growing in size and complexity; just use guile.
- jodrellblank 17y agoThat's still a borderline SmugLispWeenie point ( http://www.c2.com/cgi/wiki?SmugLispWeenie http://www.c2.com/cgi/wiki?SmugLispWeenie ). If the point is "that program would have been easier for someone who knows lisp to write in lisp" then the reply is "but I was the person who bothered to write it and preferred to spend time getting a usable program than learning lisp", and it says more about the not-real-world-friendly nature of Lisp than about a deep similarity seen amongst large programs. If the point is "lisp is a language in which you could write it more quickly" that's either unhelpful sideline commentary or smug taunting, depending on the intent. If the point is "you could learn lisp and rework your understanding of your program into a lispy style and rewrite it in less time than just writing it in a language you know" - if that's true then there should be a lot more lisp programs around than there appear to be, which kind of suggests it's not true or that there's a sticking point which the saying doesn't account for that is preventing it being tested.
- wallflower 17y ago"The Microsoft NT 4.0 kernel network driver contained a small Prolog interpreter to help puzzle out network interface cards" Using Prolog in Windows NT Network Configuration http://web.archive.org/web/20040603192757/research.microsoft.com/research/dtg/davidhov/pap.htm http://web.archive.org/web/20040603192757/research.microsoft...
- ken 17y ago"Prolog is similar to Lisp on the main points." --Norvig, 1992