string is rarely useful as a function argument

Timon Gehr timon.gehr at gmx.ch
Wed Jan 4 14:34:55 PST 2012


On 01/04/2012 11:31 PM, Timon Gehr wrote:
> Code for which no tests exist is neither correct nor incorrect.
> Assertions are a neat way to detect parts of the application whose
> implementation is incomplete.
>

Another major use of them is the checked documentation of assumptions, 
mainly in method preconditions.



More information about the Digitalmars-d mailing list