enforce()?

Vladimir Panteleev vladimir at thecybershadow.net
Mon Jun 21 18:39:07 PDT 2010


On Mon, 21 Jun 2010 07:42:34 +0300, BCS <none at anon.com> wrote:

>> Why will you assume I'm so dumb that I won't use your interface  
>> correctly?
>
> First because some people are. And second, because it trivially easy to  
> respond to support calls that start with "Your DLL is throwing a  
> YouAreNotUsingThisDLLCorrectlyRTFM Exception" <joke/>.

I think that for such situations you should ship a debug and release  
version of the DLL.
This way you don't sacrifice performance when the user doesn't want to be  
held by the hand.

-- Best regards,
  Vladimir                            mailto:vladimir at thecybershadow.net


More information about the Digitalmars-d mailing list