DIP33: A standard exception hierarchy

Jacob Carlborg doob at me.com
Wed Apr 3 11:50:29 PDT 2013


On 2013-04-03 16:33, Steven Schveighoffer wrote:

> I wish there was a way to say "this data is unchecked" or "this data is
> checked and certified to be correct" when you call a function.  That way
> you could run the in contracts on user-specified data, even with asserts
> turned off, and avoid the checks in release code when the data has
> already proven valid.

Scott Meyers had a good talk about this:

http://www.youtube.com/watch?v=Jfu9Kc1D-gQ

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list