D - Unsafe and doomed
Walter Bright
newshound2 at digitalmars.com
Sun Jan 5 20:15:02 PST 2014
On 1/5/2014 7:25 PM, H. S. Teoh wrote:
> On that note, some time last year I fixed a bug in std.bigint where a
> division by zero was deliberately triggered with the assumption that it
> will cause an exception / trap. But it didn't, so the code caused a
> malfunction further on, since control passed on to where the original
> author assumed it wouldn't.
A nice example of what I was talking about.
More information about the Digitalmars-d
mailing list