Are properties actually all that good?

Dicebot public at dicebot.lv
Mon Jul 22 10:26:56 PDT 2013


On Monday, 22 July 2013 at 17:15:53 UTC, Jesse Phillips wrote:
> 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.

As multiple property threads have shown this is a _very_ varying 
preference among D coders. It it is mostly true for Phobos but 
out of it - no common guideline.


More information about the Digitalmars-d-learn mailing list