DMD 0.148 release

Sean Kelly sean at f4.ca
Tue Feb 28 09:23:00 PST 2006


Walter Bright wrote:
> 
> What I especially think is bad style, however, are things like:
> 
>     const int forever = 1;
>     ...
>     while (forever) ...
> 
> I don't see them too often, but it does happen. 

It perhaps sidesteps the issue, but I use "for(;;)" in these cases, 
mostly because it avoids a constant conditional warning in VC++ :-p 
"while(true)" is probably a bit more meaningful however as it's not a 
counting loop.


Sean



More information about the Digitalmars-d-announce mailing list