> On 28 Jun 2015, at 17:59, Max Leske <[email protected]> wrote: > > >> On 28 Jun 2015, at 17:22, stepharo <[email protected]> wrote: >> >> Hi guys >> >> is there a real reason for Stack being a subclass of LinkedLink? > > 1. You don’t need to adjust an internal data structure (grow, shrink, move, > sort) to update the stack but only move references. > 2. The interface is pretty similar
3. It is an implementation detail/technique, it is indeed not as if Stack is-a LinkedList (from that point of view it is confusing) >> >> Stef >> > >
