@jakob

Hi!

> "The Many Faces of an Undying Programming Language"
> http://jakob.space/blog/thoughts-on-lisps.html

Nice article, well written and clear, thank you!

I hope did not mind if i write some little notes about the common lisp part

"Common Lisp is dynamically scoped, rather than lexically scoped."

Not exactly: as far as i know, variable in CL are lexically scoped unless
declared special using, for example, defparameter or defvar

http://www.lispworks.com/documentation/HyperSpec/Body/m_defpar.htm

(defparameter *baz* 1)

Yes CL is a lisp-2 but because (lambda () ...) is a actually a macro that
expand to #'(lambda() ... you can write something like

((lambda (x) (* x x)) 2) ; => 4

this surprised me the first time someone shown me that. :)

And, someway, it keeps surprising me even now :-)

This is my comments to the article, i strongly believe we need
articles like your, that compares different lisp dialects, so i wrote
this message to try to contribute to it, i hope my comments did not
annoyed you! :)

Bye!
C

#lisp
@cage
> @jakob

[...]

> I hope did not mind if i write some little notes about the common lisp part
>
> "Common Lisp is dynamically scoped, rather than lexically scoped."

Sorry, i missed the errata at the end of the article. :(

Bye!
C.
Follow

@cage no worries, I updated it very recently, so it's possible you were looking at the version before I incorporated the fix.

In either case, I appreciate that you took the time to point it out to me :)

Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko