Enhancement: issue error on all public functions that are missing ddoc sections
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Sat Mar 21 01:52:54 PDT 2015
On Saturday, 21 March 2015 at 00:42:22 UTC, Walter Bright wrote:
> On 3/20/2015 5:17 PM, Andrei Alexandrescu wrote:
>> They're useful to prevent writes to foo.
>
> That's true.
>
>
>> Also as Amaury mentioned they give the
>> implementer better options going forward. See debacle about
>> C++'s std::pair's
>> "first" and "second". "Of course they needn't be functions!"
>> said everybody to
>> the regret of future everybody. -- Andrei
>
> Fortunately, D has property functions.
That won't behave the same, because @property is not enforced
properly, but this is hardly a new topic.
More information about the Digitalmars-d
mailing list