dmd foreach loops throw exceptions on invalid UTF sequences, use replacementDchar instead

Dennis dkorpel at gmail.com
Fri Nov 5 10:27:05 UTC 2021


On Friday, 5 November 2021 at 10:09:40 UTC, norm wrote:
> It isn't always that simple, e.g. working on medical devices 
> crashing isn't an option when it comes to how we're going to 
> deal with bad data.

Oh no, let's not go there again. See this 44-page discussion:

[Program logic bugs vs input/environmental 
errors](https://forum.dlang.org/post/m07gf1$18jl$1@digitalmars.com)


More information about the Digitalmars-d mailing list