Re: Subclassing Struct.new
by Chiaro Scuro other posts by this author
Feb 28 2006 5:45AM messages near this date
Re: Subclassing Struct.new
|
Re: Subclassing Struct.new
On 2/28/06, Ross Bamford <rossrt@[...].uk> wrote:
> This isn't necessarily based in fact (i.e. I've not surfed the source
> just now) but I imagine it would be:
>
> * Harder to parse, with more ambiguous cases.
> * Generally slower, since local lookup would be 'the long way'
> more often.
> * More difficult to follow the code six months down the line
> (or on the next guy's screen).
I would disagree on the third point.
However, I guess that doing allowing 'selfless' attributes would cause
some worst inconsistency somewhere else. i just wonder what it could
be.
--
-- Chiaroscuro --
Liquid Development Blog: http://feeds.feedburner.com/blogspot/liquiddevelopment
Thread:
Minkoo Seo
Chiaro Scuro
Minkoo Seo
Yukihiro Matsumoto
Mark Wilden
Markus Werner
Chiaro Scuro
Minkoo Seo
Minkoo Seo
Hal Fulton
mental
Ross Bamford
mental
Ross Bamford
Chiaro Scuro
Ross Bamford
Chiaro Scuro
Minkoo Seo
Chiaro Scuro
mental
Chiaro Scuro
mental
Yukihiro Matsumoto
Caleb Clausen
Yukihiro Matsumoto
Caleb Clausen
MenTaLguY
Yukihiro Matsumoto
gwtmp01
Chiaro Scuro
mental
Chiaro Scuro
mental
Logan Capaldo
Pit Capitain
|