Property and method groups
Jesse Phillips
jessekphillips at gmail.com
Fri Jul 31 07:13:49 PDT 2009
On Fri, 31 Jul 2009 05:37:50 -0400, Sjoerd van Leent wrote:
> It appears that there are really different discussions about properties.
> There is a discussion about letting properties look and act as much as
> fields, and there is a discussion about calling member methods on
> returning structs.
>
> I'd like to seperate these discussions. First, I don't think it is wise
> to call a member on a returning struct, because of the expectation that
> the underlying object knows about the change. Thus is not true for a
> struct.
Sounds to me like you missed the beginning of the discussion:
http://www.digitalmars.com/webnews/newsgroups.php?
art_group=digitalmars.D&article_id=94225
More information about the Digitalmars-d
mailing list