2 ms·
"I'm mostly trying to figure out what the essential qualities of Perl are such that you consider it more lisplike than any other language." Not any other langu
by SwellJoe 19y ago
"I'm mostly trying to figure out what the essential qualities of Perl are such that you consider it more lisplike than any other language."
Not any other language. Merely any other mainstream language aside from possibly JavaScript (which is very nearly Scheme with C-style syntax).
It actually doesn't sound like we disagree on much other than what makes a language Lisp-like. ;-)
I'm primarily concerned with the "blub" and "power continuum" concepts that pg came up with. Any language lower on the power continuum is blub, and if you're only familiar with blub you can't see why a language higher up is more powerful. My basic assertion is that Perl has much more room below it on the power continuum than above it, with pretty much just Lisp (and other macro-capable functional languages) being clearly above it. Perl 6 introduces macros, so the picture changes a little bit come Christmas (or whenever the first Perl 6 is released).
And, I agree that syntax is a huge gaping difference between Lisp and Perl. But Lisp is hugely different from all other mainstream languages in that regard, as well, so it has to be canceled out, as far as I'm concerned. So, once syntax as a difference in removed, all you have is "what concepts can you implement readily in this language", and Perl has pretty much everything except macros. Most other mainstream languages are missing some number of others.