Proposal request: explicit propreties

Aarti_pl aarti at interia.pl
Tue Apr 1 06:44:00 PDT 2008


Ary Borenszweig pisze:

...

> I suggest marking properties as such like this:
> 
> getter Type property() {
>   // ...
> }
> 
> setter void property() {
>   // ...
> }
> 

...

> What do you think?

Good rationale.

I just think that one keyword instead of setter/getter would be just 
enough. E.g 'property'.

BR
Marcin Kuszczak



More information about the Digitalmars-d mailing list