hi,

I get the impression we're agreeing, but the ASCII is sort of muddling that up?

>> i think things like the diamond issue arise whenever you have some
>> form of mixing-in, not just m.i....
> Definition of the diamond problem:
>  http://en.wikipedia.org/wiki/Diamond_problem

sure, not that i always trust wikipedia as the last word on things,
but even that article says it can happen in more than just m.i.

> In practice, delegation is a
> surprisingly rare pattern, so "sucks" seems a bit strong. Java
> definitely sucks, but not because of problems with its delegation
> pattern. :-)

not sure if you mean in practice in java or if you mean in a wider
sense. but even in the java world, the luminaries are always saying
favor delegation (java sucks at delegation, same with C# as far as i
know, so unfortunately devs tend to ignore that advice). in e.g. C++
Bjarne is, as far as i can recall, big on preferring delegation, too.
so the only sense in which it is a surprisingly rare pattern in
practice is because everything sucks or because developers are lame
and not listening, i think.

> I agree, and language design can certainly help point people the right
> way, but it can't actually prevent people from blowing their foot off.

sure sure, but it is good to avoid doing something like java which not
only can't prevent but actually seems to really encourage people to do
that, because the obvious thing to do based on the structures provided
is all wrong. unfortunately. since it is my day job life.

:-}

sincerely.
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to