True Properties Poll
Jesse Phillips
jessekphillips at gmail.com
Fri Jul 31 18:04:39 PDT 2009
On Fri, 31 Jul 2009 15:49:55 -0400, Steven Schveighoffer wrote:
> The syntax is an important part. For example, you cited that as the
> main reason why you wouldn't want property syntax:
>
>> I find writing
>> property int foo { get; set;}
>> More work than
>> public int foo;
>
> And I assume you meant public int foo() and public int foo(int value),
> since public int foo is a field.
You assume incorrectly. Some other post covered that.
>
> But what about changing:
>
> public int foo();
> public int foo(int value);
>
> to
>
> property:
> public int foo();
> public int foo(int value);
>
> ???
>
> -STeve
What I want is for += ... to be resolved, if it has to be done with
"properties" then fine, hence how I voted.
More information about the Digitalmars-d
mailing list