On 10/8/07, Jonas Pfenniger <zimbatm / oree.ch> wrote:
> 2007/10/5, David Flanagan <david / davidflanagan.com>:
> > Since class returns the value of the last expression, changing def to
> > return a Symbol or UnboundMethod object would end up affecting the
> > return value of most class definitions as well, since most consist have
> > a def as their last expression.
> Another argument against using Symbols is that you will grow the
> symbol hash table, even if you only use a fraction of them. Since that
> table can't be garbage-collected, it can be quite problematic.
No, because the Symbol is instantiated by def foo anyway.
-austin
--
Austin Ziegler * halostatue / gmail.com * http://www.halostatue.ca/
* austin / halostatue.ca * http://www.halostatue.ca/feed/
* austin / zieglers.ca