[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Immutable Ruby

Trans

8/29/2008 1:19:00 AM

I was thinking about Erlang a bit today, the fact that it's objects
are all immutable and it's usefulness to concurrency. So I began to
wonder, what would an Immutable Ruby look like?

* Would it make setter methods effectively pointless?
* Overall, would it help or hurt efficiency/speed?
* Would it ruin Ruby's elegance?
* No more #<< :(
* No more Symbol vs. String!!! :)
* Is such a thing even possible?

T.