Writing Bug-Free C/D Code
Derek Parnell
derek at nomail.afraid.org
Wed Mar 21 15:40:49 PDT 2007
On Wed, 21 Mar 2007 09:44:14 -0400, Dan wrote:
>> It is only meant to be used during the development phases of an
>> application, thus you should not use contracts to try and detect invalid
>> input data for a function. Contract code should be used to detect logic
>> errors and not data errors.
>> Derek
>
> Actually Derek, contracts as a concept have no such limitation. Their
> current implementation only performs logic errors ...
I'm sorry if I may have been a bit vague, but I was actually talking about
D's implementation of contracts and not *Contracts* as a general program
development concept.
--
Derek
(skype: derek.j.parnell)
Melbourne, Australia
"Justice for David Hicks!"
22/03/2007 9:36:55 AM
More information about the Digitalmars-d
mailing list