Re: protocols, inheritance and polymorphism

2004-11-29 Thread Dirk Thierbach
Dirk Thierbach <[EMAIL PROTECTED]> wrote: > Donn Cave <[EMAIL PROTECTED]> wrote: >> Quoth Jacek Generowicz <[EMAIL PROTECTED]>: >>> Specifically, dynamic polymorphism is impossible without dynamic >>> typing. > I haven't heard the term "dynamic typing" in this context, Sorry, that should have b

Re: protocols, inheritance and polymorphism

2004-11-28 Thread Alex Martelli
Christophe Cavalaria <[EMAIL PROTECTED]> wrote: > If your programs need that much dynamic_cast to work, then your programs are > bad. Wrong. Look at the absolute mess that the Visitor design pattern is, and how Robert Martin made it much less horrible by turning it into Dynamic Visitor -- which