[prev in list] [next in list] [prev in thread] [next in thread]
List: ruby-talk
Subject: Re: Is better to subclass or to add methods to an existing class?
From: ts <decoux () moulon ! inra ! fr>
Date: 2002-09-20 7:40:51
[Download RAW message or body]
>>>>> "C" == Christoph <chr_news@gmx.net> writes:
C> Maybe this is also a good time to mention that the ``problems''
C> you foresaw when playing around with your own overloading
C> implementation was imo caused by the fact that you allowed
C> modules (such as Enumerable) as (multi-)method signature types.
No, no. I've just added modules to kill it :-)
Another example, what do you expect with ?
ruby -e 'class A < Array; end; a = A.new; b = A.new; p ((a+b).type)'
Guy Decoux
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic