News for hackers. Stuff that matters.
Re:Yes, JavaScript Is a Lisp by dgb23 on Friday January 13, 2023 @07:44PM (#34376008)
That's the most fundamental one, plus the lack of expression based syntax (!), macros, quoting, (truly) interactive development...

It seems to me that there isn't much there outside of proper closures and data literals? Go has those as well and it's hard to compare to a Lisp.

When JS was invented it was inspired by Scheme and apparently having those two features was more out of the ordinary then. But that's hardly true today.

Re:Yes, JavaScript Is a Lisp by easrng on Saturday January 14, 2023 @05:13AM (#34378992)
wdym, JS has good interactive development with browser devtools. and you can write pretty much all js as expressions if you want to.
Re:Yes, JavaScript Is a Lisp by kaba0 on Saturday January 14, 2023 @07:12AM (#34379667)
That’s just as true of Java nowadays, though. Plenty of languages have REPLs.
Re:Yes, JavaScript Is a Lisp by dgb23 on Saturday January 14, 2023 @01:00PM (#34382291)
I agree, I write JS professionally.

But there is a _qualitative_ difference between interactive development between JS and a Lisp like Clojure. And "pretty much" is also qualitatively less expressive than "everything is an expression".

I write expression based, simple, mostly functional JS and I use tools to make that as interactive as is practical. But there's still a lot of friction and differences between that and development with a Lisp (in my case Clojure).