Contracts + Assert

Mike Linford sgtmuffles at myrealbox.com
Tue Oct 30 20:12:24 PDT 2007


I'm a bit confused about why it seems to be advocated that only assert()'s be used in contracts. Why is it that more specific exceptions aren't thrown instead? Wouldn't this make debugging easier?


More information about the Digitalmars-d-learn mailing list