Simen kjaeraas wrote:

> BCS <n...@anon.com> wrote:
>>> 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.
>>
>> Until you can show me a perf problem, I don't see any point in doing
>> that. (OTOH, deep structure validation, or anything else slower than
>> O(1), is another thing all together)
> 
> Also, if you do have two different versions, I'll bet you ready money
> someone will program only the release version, because "that's the
> version the users will have", "the debug version is slow" or whatever
> other inane excuse their minds are capable of coming up with.
> 

Naturally, debug is for debugging, not shipping. Instead one could make three 
versions:
- debug  
- release
- unsafe

Or rather let the user compile unsafe themselves if you can distribute the 
source code. 

I am sure most inane users (like me) will choose release.

Reply via email to