Re:Computer Science from the Bottom Up (2013)
by gravypod on Saturday December 24, 2016 @01:23PM
(#13250962)
JavaScript IS lisp with 1) a new syntax and 2) more things bolted on top that make it a non-LISP language. There are two things under the catagory of JavaScript. The Functional size and the Imperative side. It's the only language in the lisp family that allows you to write both, neither, or some combination in the same program. I say neither because other paradigms can be expressed from within JavaScript that will not be expressable in most FP and Imperative languages without some muscle involved in forcing it to do so.
Watch David C.'s talk on JavaScript the Good Parts to see this diamond in the rough.
Re:Computer Science from the Bottom Up (2013)
by lispm on Saturday December 24, 2016 @02:10PM
(#13251172)
> It's the only language in the lisp family that allows you to write both, neither, or some combination in the same program.
Where did you get that from?
Almost all Lisp dialects allow you to write functional and/or imperative code.
Are you referring to Javascript being a LISP dialect here? I've heard this occasionally but I also though that the one predominant feature of LISP was that of homoiconicity which I don't believe applies to Javascript or is that not correct? Thanks.