On 02/11/2016 11:22 AM, H. S. Teoh via Digitalmars-d wrote:
Fair enough.
Personally, though, I find a bunch of comma-separated values very
unhelpful. It would be much better if they were labelled, e.g., if:
int x, y, z;
dump(x,y,z);
outputs:
x=1, y=2, z=3
it would be much better than just:
1, 2, 3
which is unclear which values belongs to which variable. Trivial to
figure out in this case, but it's not as obvious when interspersed
between other program output & debug messages. But maybe that's just a
matter of habit, and difference in personal debugging style.
My understanding is that's the whole point of the "dump" function being
discussed. Unless I misunderstood?