from: Ron Teitelbaum >Hello, >I have to ask is Grunt your real name? Do you have a real name?
Oh, OK then, it's Darren :-) >Ok so your question is very vague. I'll try to answer, but I'm not sure my answer will be much help. >Stack is a specialization of Object >Stack has a linked list >Stack normally implements linked list as a collection of StackLinks. >StackLink is a specialization of Link >Link has a nextLink that normally points to an instance of Link (or it's subclasses) to provide a linked list structure. >Does that help? >Ron Thanks Ron, yes that does help but also what would be the thought process (I know you can't read minds) to choose this approach as apposed to specializing StackLink? -Regards Darren -- View this message in context: http://www.nabble.com/delegation-vs-inheritance-tf4216781.html#a11998239 Sent from the Squeak - Beginners mailing list archive at Nabble.com. _______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners