Comment by aeorgnoieang
7 years ago
JavaScript is, probably somewhat surprisingly, a pretty LISP-y language, tho without the parentheses.
7 years ago
JavaScript is, probably somewhat surprisingly, a pretty LISP-y language, tho without the parentheses.
Lispy in the "processing lists" is easy and natural sense, but not in the more powerful "homoiconicity=code is data and data is code" sense.
When people say that, they mostly just mean that it has lexical closures, I think.
You're right about the 'homoiconicity' but there's more LISP-iness to JavaScript beyond just "processing lists" too.
For others curious about this possible connection, here's Douglas Crockford on the LISPiness of JavaScript.
The Little JavaScripter https://www.crockford.com/little.html
You mean modern JS, no?
No, even the original language was pretty LISP-y.