Re: I'm Dumpin' it!

2017-05-12 Thread Steven Schveighoffer via Digitalmars-d
On 5/12/17 10:10 AM, Meta wrote: On Friday, 12 May 2017 at 13:50:50 UTC, ixid wrote: 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'. In all

Re: I'm Dumpin' it!

2017-05-12 Thread Meta via Digitalmars-d
On Friday, 12 May 2017 at 13:50:50 UTC, ixid wrote: 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'. In all seriousness, debugPrint or some

Re: I'm Dumpin' it!

2017-05-12 Thread ixid via Digitalmars-d
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 a

Re: I'm Dumpin' it!

2017-05-12 Thread Andrea Fontana via Digitalmars-d
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 an

I'm Dumpin' it!

2017-05-12 Thread Seb via Digitalmars-d
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!(