Bad array indexing is considered deadly
Ola Fosheim Grøstad via Digitalmars-d
digitalmars-d at puremagic.com
Sat Jun 3 04:11:48 PDT 2017
Anyway, all of this boils down to the question of whether D
really provides a safe programming environment.
If you only write safe code in a safe language, then it should be
perfectly ok to trap and deal with a failed lookup, irrespective
of what kind of data-structure it is.
So, if this isn't possible in D, then D isn't able to compete
with other safe programming languages...
But then maybe one shouldn't try to sell it as a safe programming
language either.
You can't really have it both ways.
More information about the Digitalmars-d
mailing list