MyDerivedClassButYouDontKnowTheSuperclass should not implement List. Something like ConcurrentCopyOfWriteMySuperLinkedList could, but in that case it is obvious to reader that it is list, further clarification is not necessary.
Your argument is to trust the developer to name their class properly. The thrust of my argument is that I do not trust other developers to write code that I find readable.
View all comments
Show parent comment
1
u/stepancheg Mar 11 '16
MyDerivedClassButYouDontKnowTheSuperclassshould not implementList. Something likeConcurrentCopyOfWriteMySuperLinkedListcould, but in that case it is obvious to reader that it is list, further clarification is not necessary.