Safer casts

Dee Girl deegirl at noreply.com
Sun May 11 16:12:19 PDT 2008


Yigal Chripun Wrote:

> the idea is of course take the best from each language and combine it to
> something even better.
> BTW, you really should take a look at Eiffel. for example, it has
> multiple-inheritance implemented in a completely different way than C++
> avoiding most of c++ problems with it. they have many novel ideas there
> that D can and should learn from.
> 
> My perfect collection framework would be based on the Eiffel design,
> avoiding problems in the Java model and problems in the C++ model.

It is fortunate in my humble opinion that the designers of D think otherwise. In my experience Eiffel is the worst of languages. I worked with Eiffel one project. It was very unsafe for a compiled language. It has covariant function arguments and covariant arrays! At least Java and D made only one mistake not two. It has problems of dynamic languages and problems of static languages but not many advantages of them. It is not surprising Eiffel is considered bad by my professors and also by people in the industry. Dee Girl




More information about the Digitalmars-d mailing list