[OT] Swift removing minor features to piss me off

Nick Treleaven via Digitalmars-d digitalmars-d at puremagic.com
Fri Apr 29 05:13:04 PDT 2016


On Thursday, 28 April 2016 at 22:37:41 UTC, H. S. Teoh wrote:
> I find for(;;) far more logical than other vacuous workarounds 
> like
> while(1) or while(true).

It's only because of C that all the for arguments can be left 
out, I'd rather have:

while {...}

I.e. it defaults to true. 'A while' is an interval of time, 'for' 
isn't.


More information about the Digitalmars-d mailing list