I might be barking up the wrong tree, but it smacks of bad OO-design... 
Example... If you design a `Kennel`, and you say that there are 
`KennelInhabitants`, which represent the animals that live in the `Kennel`... 
You cannot make a `KennelInhabitant` of type `Canine` AND `Feline` just because 
it can be any one of the two... This is begging for failure if you have a 
`Canine` but you cast it to a `Feline` and try to invoke the operations on 
that...
Just bad OO-design... `implements` and `extends` should be replaced with "IS 
A..." and not with "COULD BE ONE OF THESE"

[ Full content available at: https://github.com/apache/geode/pull/3059 ]
This message was relayed via gitbox.apache.org for 
[email protected]

Reply via email to