OT: for (;;) {} vs while (true) {}

Dennis Ritchie via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 25 05:22:40 PST 2016


On Friday, 25 November 2016 at 12:59:07 UTC, Andrei Alexandrescu 
wrote:
> i.e. it's not relevant to users that the string version has a 
> distinct implementation.
>
> In fact I suggest someone implements this.

The problem is not the users, and the places where you will use 
your program. Because this code is easy to make a mistake that 
can lead to failure in the automated system.
Unfortunately, writing such code is not safe.


More information about the Digitalmars-d mailing list