On 7/23/12 2:39 AM, Jacob Carlborg wrote:
On 2012-07-22 16:28, Andrei Alexandrescu wrote:

Something like that. Note that such a query is not particularly OO-ish,
because getting a class' cone (totality of subclasses) works against the
modularity that inheritance is meant for. I don't think we should make
getting class cones particularly easy.

I see no reason to make it difficult on purpose.

The reason is that often the cone would be incomplete and therefore confusing. It would also foster non-modular approaches to doing things.

Andrei

Reply via email to