Polymorphic catcalls

Kagamin spam at here.lot
Sat Apr 21 06:52:18 PDT 2012


The Little Willy example applies to D just fine. When served 
wrong drink, Little Willy has little choice but to throw an 
exception. This seems like a strengthening of a Customer's 
contract, doesn't it? It doesn't matter how the typecheck is done 
technically. And this strengthening seems to be inevitable in 
practice.


More information about the Digitalmars-d mailing list