4 ms·
Genuine question: doesn't such thing as "design by contract" make for the same bloat as checked exceptions in java?
by xentronium 15y ago
Genuine question: doesn't such thing as "design by contract" make for the same bloat as checked exceptions in java?
- gambler 15y agoDbC doesn't need to be dealt with at every level of the call chain if that's what you mean. It may seem a bit verbose, but it usually expresses logic that would be in your program or in your tests anyway. Difference is, you will be doing it in a pretty terse and declarative manner. IMO, DbC is one of the coolest features of .NET 4.0.