Is D still alive?

bearophile bearophileHUGS at lycos.com
Thu Jan 27 19:47:52 PST 2011


Andrei:

> One issue with DbC is that its only significant advantage is its 
> interplay with inheritance. Otherwise, scope() in conjunction with 
> assert works with less syntactic overhead. So DbC tends to shine with 
> large and deep hierarchies... but large and deep hierarchies are not 
> that a la mode anymore.

Have you tried to use class invariants manually? It's easy to forget its calls, and the calls clutter the code, and are not handy to write. So I don't agree.

Bye,
bearophile


More information about the Digitalmars-d mailing list