I'm Dumpin' it!

Andrea Fontana via Digitalmars-d digitalmars-d at puremagic.com
Fri May 12 06:19:31 PDT 2017


On Friday, 12 May 2017 at 12:55:37 UTC, Seb wrote:
> 1) Do you think there should be language / compiler support for 
> dumping variables nicely?

Yes

> 2) Would you use dump!(x, y)?

YES!

> 3) Should there be a version of dump that is set to be `@nogc 
> @safe nothrow pure`, s.t. it can be inserted anywhere for handy 
> debugging?

It's ok if it skip those checks on debug block:

debug
{
    dump!(x,y);
}




More information about the Digitalmars-d mailing list