Short list with things to finish for D2

Don nospam at nospam.com
Fri Nov 20 01:52:56 PST 2009


aarti_pl wrote:
> bearophile pisze:
>> aarti_pl:
>>
>>> I think that proposed names exactly reflect the meaning. So I would 
>>> say it is perfectly consistent with D convention.
>>
>> Dollars are money, but opDollar is not a member function that returns 
>> the price of a struct. So I don't agree with you, or I don't 
>> understand what you mean.
>>
>> Bye,
>> bearophile
> 
> I agree. opDollar is not particularly fitting to D language operator 
> concept. opLength/opSize would fit better.

Unfortunately $ is not necessarily the length, nor the size. It might 
not even be an arithmetic type.



More information about the Digitalmars-d mailing list