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

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 25 07:29:31 PST 2016


On Friday, 25 November 2016 at 15:03:26 UTC, Andrei Alexandrescu 
wrote:
> We need to change the range API then. -- Andrei

That's absurd, popFront is in no way semantically a property, so 
it should not get @property.

It has been so many years of this being poorly defined. Let's 
just close the book and officially put the status quo on optional 
parenthesis in stone: they are optional on zero-argument calls, 
regardless of @property, and that isn't going to change.

Then this popFront question becomes moot.


More information about the Digitalmars-d mailing list