Tricky semantics of ranges & potentially numerous Phobos bugs
David Nadlinger
see at klickverbot.at
Wed Oct 17 09:57:27 PDT 2012
On Wednesday, 17 October 2012 at 15:14:44 UTC, Andrei
Alexandrescu wrote:
> Such issues do happen, are relatively rare, and are virtually
> untested because there's been no unittests with a deliberately
> "bad" input range. Although of course we do need to add the
> appropriate fixes and unittests, I'm not worried about it at
> all systemically.
If an abstraction encourages use in a way which leads to
hard-to-detect logic bugs that do not occur with the most common
test cases, this is _exactly_ the thing we should be worried
about!
David
More information about the Digitalmars-d
mailing list