Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What language features does Ruby borrow from CLU? [closed]

Tags:

ruby

I have read in Ola Bini's blog that Ruby has influenced by CLU language, but besides the multiple assignment I'm not sure what other influences exist. Any guidance and simple examples would be most appreciative.

like image 753
Eli Schneider Avatar asked Apr 16 '26 03:04

Eli Schneider


1 Answers

The only time matz ever mentioned CLU was when talking about iterators. Everything else is more or less directly from Smalltalk, Lisp, Flavors and Perl. Singleton classes seem to be unique to Ruby, though they are related to Smalltalk's metaclasses.

like image 161
Jörg W Mittag Avatar answered Apr 19 '26 04:04

Jörg W Mittag



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!