top | item 45966151

(no title)

User23 | 3 months ago

That’s really not true for Lisp.

Ruby, like its predecessor Perl, is one of the finer examples of Greenspunning and shows a lot of Lisp influence.

Unfortunately I can’t read the actual submission right now due to the cloudflare outage.

discuss

order

masklinn|3 months ago

> That’s really not true for Lisp.

It's completely true of lisp. Lisp strings are generally mutable (although literal strings may be interned and non-mutable, or even worse mutation of literal strings may be UB). Same for Smalltalk.

User23|3 months ago

I meant more that symbols are a data structure with function and value slots. Last I knew strings, interned (which is also a Lisp reference) or not don't have that.

kazinator|3 months ago

In a Lisp with mutable strings, like Common Lisp, those strings which are symbol names are still mutable.