[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Re: Inheriting Array and slice() behaviour

Devin Mullins

7/6/2005 9:44:00 PM

> inheriting classes like Array is seldom really good. There
> are too many methods that return plain arrays and you end up with Arrays
> anyway. Delegation, ad hoc modification or extension with a Module is often
> better.
Somebody should write a list of these.

Devin