properties
Sergey Gromov
snake.scaly at gmail.com
Tue Jul 28 15:38:47 PDT 2009
Tue, 28 Jul 2009 11:30:00 -0500, Andrei Alexandrescu 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.
>>
>> And for years, there have been complaints about it. This will
>> continuously be a thorn in the side of D adoption until it is resolved.
>
> Again, most complaints have been directed towards writeln = 5. I think
> that's the major problem to be resolved.
I think it is mentioned more often because you tend to agree with it.
There are many more as valid arguments which you discard or ignore,
mainly maintainability.
More information about the Digitalmars-d
mailing list