News for hackers. Stuff that matters.
Re:Ruby Symbols by User23 on Tuesday November 18, 2025 @09:05AM (#45966151)
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.

Re:Ruby Symbols by masklinn on Tuesday November 18, 2025 @10:39AM (#45967670)
> 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.

Re:Ruby Symbols by kazinator on Tuesday November 18, 2025 @03:40PM (#45971725)
In a Lisp with mutable strings, like Common Lisp, those strings which are symbol names are still mutable.
Re:Ruby Symbols by User23 on Friday November 21, 2025 @02:05AM (#46001957)
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.
Re:Ruby Symbols by stonecharioteer on Tuesday November 18, 2025 @10:25AM (#45967479)