Setting array length to 0 discards reserved allocation?

via Digitalmars-d digitalmars-d at puremagic.com
Sun Jul 27 01:23:04 PDT 2014


On Sunday, 27 July 2014 at 06:06:03 UTC, Ola Fosheim Grøstad 
wrote:
> On Friday, 25 July 2014 at 17:32:38 UTC, Andrei Alexandrescu 
> wrote:
>> Why? I don't have much context but a few people I talked to 
>> were positive
>> about the community contribution to php docs. -- Andrei
>
> I find the php comments useful when I have to use the docs. It 
> isn't about correctness, it is about gotchas and potential 
> work-arounds. No worse than stack overflow.
>
> There is noise, but it makes no difference at the bottom of the 
> page. People are also more likely to comment there than 
> submitting a formal complaint about errors in the docs.

Sure, it could be used as a lightweight bugtracker. But them, 
someone would have to watch the comments, and actually turn them 
into PRs, and remove the comments when the PRs are merged.


More information about the Digitalmars-d mailing list