What are the prominent downsides of the D programming language?

Jean-Louis Leroy jl at leroy.nyc
Tue Sep 29 21:19:35 UTC 2020


In reply to mw and jmh530:

I looked a bit at Eiffel circa 2000 and, to be frank, I didn't 
like it. I think that it belongs to the category of Object 
Obsessed languages, where everything is (has to be) an object, 
and every function has to be a member. This contradicts the 
philosophy behind openmethods and CLOS: methods live outside of 
classes, and polymorphic behavior can be added without modifying 
existing classes. Functionality found inside classes tend to be 
minimal - what Luís Marques describes as the "anemic domain 
models".

On the other hand, I like it that Eiffel has multiple 
inheritance. I did a bit of reading today and it seems to offer 
flexibility regarding shared and repeated inheritance. In 
particular, it is not decided by the direct subclasses (like with 
C++'s virtual inheritance) So there may be some good ideas to 
steal there.



More information about the Digitalmars-d mailing list