properties

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Jul 28 13:07:34 PDT 2009


Jérôme M. Berger wrote:
> Andrei Alexandrescu wrote:
>> Steven Schveighoffer wrote:
>>> The presence or absence of parens is a hard-coded accepted meaning of 
>>> field vs. function.
>>
>> I understand how some people want to derive meaning from obj.foo() 
>> versus obj.foo. I think they shouldn't in D. I mean D has had for 
>> years the behavior that you could drop the trailing empty parentheses.
>>
> <sarcasm>
>     And of course, D has such a huge number of users already that anyone 
> who comes from another language can just go to hell as far as we're 
> concerned...
> </sarcasm>

But then they'd expect a number of improvements wouldn't they. To me, 
the space-wasting and uncomfortable-to-type parens have always been 
unpleasant noise. I like some of the values of the old village I grew up 
in, but please pave the darn road, I could do without the mud.

Andrei



More information about the Digitalmars-d mailing list