Semantics of toString

Steven Schveighoffer schveiguy at yahoo.com
Thu Nov 12 14:08:48 PST 2009


On Thu, 12 Nov 2009 16:54:13 -0500, Andrei Alexandrescu  
<SeeWebsiteForEmail at erdani.org> wrote:


>>  Let's not forget that this is mainly for debugging...
>
> If it's mainly for debugging maybe it's not worth spending time on.

Debugging is not always done by the developer on his system where a  
debugger is available.  The main use I see for toString is logging (for  
the purpose of debugging post-mortem failures on customer's systems).

-Steve



More information about the Digitalmars-d mailing list