From: Daryl Richter Date: 2005-09-02T00:37:15+09:00 Subject: Re: implementing the "each" method for own classes Robert Klemme wrote: > Philipp Huber wrote: > >>of course your right, my variant leaves out the first element. >>what's actually the sense behind returning self? > > > Don't ask. There's a dark secret connected to this. Noone ever lived to > tell. Many have tried to provide explanations (such as support of method > chaining) but the truth was never revealed... > Chaining is the reason. a.please.do.this instead of: a.please a.do a.this > ;-) > > Cheers > > robert > > -- Daryl Richter Platform Author & Director of Technology (( Brandywine Asset Management ) ( "Expanding the Science of Global Investing" ) ( http://www.brandywine.com ))