Proposal request: explicit propreties

Kenny B funisher at gmail.com
Tue Apr 1 14:45:23 PDT 2008


Ary Borenszweig wrote:
> Leandro Lucarella wrote:
>> Jacob Carlborg, el  1 de abril a las 16:05 me escribiste:
>>> get T name (){}
>>> set T name (){}
>>
>> I don't think making 'get' and 'set' keywords is a good idea.
>>
>> I like the 'property' keyword, it's just one keyword and it's used in
>> Python for the same thing.
>>
> 
> Me too.

Me too, cause if I had get/set as a keyword, it would break a lot of 
existing functions with the name get / set.



More information about the Digitalmars-d mailing list