@property needed or not needed?

deadalnix deadalnix at gmail.com
Wed Dec 5 12:39:10 PST 2012


On Wednesday, 5 December 2012 at 20:27:18 UTC, Rob T wrote:
> On Wednesday, 5 December 2012 at 18:32:16 UTC, deadalnix wrote:
>>>
>>> I think the argument for vs against is simply a coding style
>>> issue, some like dropping empty braces, some do not.
>>>
>>> --rt
>>
>> It is also a ambiguity issue
>
> The () acts like a naming convention, and with or without 
> enforcement you are free to choose whatever naming convention 
> you desire, thus reducing ambiguity.
>
>> and the extra need of & to not call the function (which also 
>> introduce ambiguity).
>
> If you dislike it, rather than use &, I suppose you can add on 
> the () instead. In fact you can specify () everywhere if you 
> prefer.
>

I'll do like I've not read anything and let you rethink about 
that.


More information about the Digitalmars-d mailing list