[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:       William Djaja Tjokroaminata <billtj () z ! glue ! umd ! edu>
Date:       2002-09-19 16:20:37
[Download RAW message or body]

Actually, because in Ruby a class definition is never closed, don't we
fundamentally have a similar problem (although possibly with much less
probability, especially when module is used) by subclassing as adding a
method?  In other words, the name of subclass that we create may already
be used as a name of some other class.

Regards,

Bill
============================================================================
Jim Freeze <jim@freeze.org> wrote:
> I think it could be considered bad because it can produce
> alergic reactions between libraries.

(deleted)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic