On 4/9/15 10:31 AM, Idan Arye wrote:
On Thursday, 9 April 2015 at 01:28:05 UTC, Andrei Alexandrescu wrote:
On 4/8/15 4:15 PM, Idan Arye wrote:
On Wednesday, 8 April 2015 at 16:47:10 UTC, Andrei Alexandrescu wrote:
On 4/8/15 2:24 AM, Idan Arye wrote:
At the very least, put () after the writelne:

No. -- Andrei

Why not? The property syntax's purpose is to create... well...
properties. Give you the illusion that you are reading and writing
member fields when you are actually calling functions.

It seems to be a difference without a distinction. One day I got tired
of writing r.empty and r.front but r.popFront(). Furthermore I got
tired to spend time thinking where I should insert parens vs. where I
shouldn't. So I dropped parens from that. And then from other places.
Apparently I didn't get struck by lightning where I stood.

Andrei

This is not about being struck by lightning. This is about being struck
by the next developer who has to read your code.

Apparently they didn't either. -- Andrei

Reply via email to