Le 30/6/15 15:30, Ben Coman a écrit :
On Tue, Jun 30, 2015 at 5:21 PM, Thierry Goubier
<[email protected]> wrote:

2015-06-30 11:00 GMT+02:00 stepharo <[email protected]>:

What I mean is that this is not good to have subclassing when we can use
subclassing.

Are you sure you mean that? *confused*

Thierry
Was it meant to be...
"not good to have subclassing when we can use composition" ?

and produce coherent API.
A stack is not a LinkedList. He can be implemented using a linkedlist.
The API of a stack is not the one of a linkedlist.




cheers -ben




Reply via email to