Are properties actually all that good?
Jesse Phillips
Jesse.K.Phillips+D at gmail.com
Mon Jul 22 10:15:52 PDT 2013
On Monday, 22 July 2013 at 16:42:57 UTC, Land wrote:
> Thank you for the replies. So, what's the bottom line? Should I
> use accessor methods or should I use properties? (I've read
> quite a bit of the mentioned 500-post topic, by the way, but
> I'm still not clear on what's the most logical step here)
Use properties. You'll find it more common in other D code.
Whether you use a field or a method is up to you, I suspect using
method will be more common.
More information about the Digitalmars-d-learn
mailing list