I want this so badly, please implement
Adam D. Ruppe via Digitalmars-d
digitalmars-d at puremagic.com
Thu Apr 7 10:16:18 PDT 2016
On Thursday, 7 April 2016 at 17:03:31 UTC, Kagamin wrote:
> The length of data will tell you which data it is?
It tells me more than ABSOLUTELY NOTHING. Between the length and
the index, I can at least get an idea of if there's a broken
record or broken code.
> Sounds like code bloat for little gain.
It is already there, just discarded!
D's error handling does this a lot, and there's no reason good
for it. Useless RangeErrors (a segmentation fault would be more
helpful!), generic Exceptions with random strings instead of
useful info, dumb crap like enforce discarding easy info. Ugh.
More information about the Digitalmars-d
mailing list