[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Duck Typing and Object Hashish

T. Onoma

11/13/2003 3:22:00 AM

> I like your thinking on this, and there are (not surprisingly) other
> languages that take it farther. In JavaScript and especially Self,
> objects are composed entirely of named "slots" or properties, and they
> are frequently used as hashes, with no other specialized hash support in
> the language or libraries.

that's very interesting. i'll have to take a look at Self.

i wonder if Ruby (i.e. RITE) is moving in this direction. WhyTheLuckyStiff makes some interesting "suggestives" about the direction Ruby's moving on his "Shiny and New" page.

-t0