properties

aarti_pl aarti at interia.pl
Tue Jul 28 13:33:31 PDT 2009


Andrei Alexandrescu pisze:
> Steven Schveighoffer wrote:
>> On Tue, 28 Jul 2009 16:08:58 -0400, Andrei Alexandrescu 
>> <SeeWebsiteForEmail at erdani.org> wrote:
>>
>>> Steven Schveighoffer wrote:
>>>> However, when I see:
>>>>  x.empty;
>>>>  I can't tell what is implied here.
>>>
>>> You can. In either C# or D language it could execute arbitrary code 
>>> that you better know what it's supposed to do. D simply doesn't make 
>>> it "bad style" as C# stupidly does.
>>
>> still not getting it, are you...
>>
>> Just forget it, I think this is a lost cause, I keep making the same 
>> points over and over again, and you keep not reading them.
> 
> I do read them and understand them. I mean, it's not rocket surgery. At 
> the end of the day you say "x = a.b;" looks more like sheer access 
> because that's what happens for fields already. Then you say "a.b()" in 
> any context looks more like an action because it's clear that there's a 
> function call involved. But your arguments are not convincing to me, and 
> in turn I explained why. What would you do if you were me?
> 
> Andrei

You should just accept what others want *although* you don't agree...

Steve's arguments are very good and convincing, and unfortunately 
somehow you don't get them. And I don't see your arguments being 
superior at all.

Sorry for thread hijacking, but such discussions make me want not to use 
D any more... I am writing because I still have some hope...

Maybe community should decide in poll who's arguments are better?

BR
Marcin Kuszczak



More information about the Digitalmars-d mailing list