I'm Dumpin' it!

ixid via Digitalmars-d digitalmars-d at puremagic.com
Fri May 12 06:50:50 PDT 2017


On Friday, 12 May 2017 at 12:55:37 UTC, Seb wrote:
> Hi all,
>
> last year there has been a discussion about adding a utility 
> method for easily dumping variables during debugging to Phobos 
> [3971].
> The effort stalled and after a couple of months I tried to 
> reboot it [4318]. Now this PR got stalled as well and I am 
> rethinking the work.
> I think dump!(x, y) already got pretty close to the ideal 
> solution and as we probably aren't going to add a new keyword 
> or language feature for this, I think this is the best what we 
> can get atm.

I think the word dump would be too confusing for users based on 
the history of the term in C. It should be 
writeFormattedVariableLn. /sarcasm.

Just parodying the frankly ridiculous response to 'print'.


More information about the Digitalmars-d mailing list