Enhancement: issue error on all public functions that are missing ddoc sections
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Fri Mar 20 16:25:46 PDT 2015
On 3/19/2015 3:13 PM, Jeremy Powers via Digitalmars-d wrote:
> A valid reason for doing things like this is future-proof encapsulation. You
> can change the internal foo to be something entirely different, and the external
> api never changes (assuming 'foo' is private).
That's why D has properties. Fields can be replaced with property functions.
More information about the Digitalmars-d