Setting array length to 0 discards reserved allocation?

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 25 11:01:31 PDT 2014


On Fri, Jul 25, 2014 at 05:37:24PM +0000, Brad Anderson via Digitalmars-d wrote:
> On Friday, 25 July 2014 at 17:32:38 UTC, Andrei Alexandrescu wrote:
> >"Wyatt" <wyatt.epp at gmail.com> wrote:
> >>On Friday, 25 July 2014 at 15:59:18 UTC, Gary Willoughby wrote:
> >>>
> >>>The D community is hoping those discussion sections start being
> >>>used in the same way the PHP documentation is used.
> >>
> >>We are?  Please, no.  Holding the PHP doc comments up as an example
> >>of a positive thing is alternately alternately hilarious and
> >>terrifying.
> >>
> >>-Wyatt
> >
> >Why? I don't have much context but a few people I talked to were
> >positive about the community contribution to php docs. -- Andrei
> 
> They are hit or miss. Sometimes you'll find exactly what you need and
> sometimes you'll find terrible misinformation. I suspect this our
> community will fair better than PHP has here but there is still that
> risk.
> 
> I think it's worth a shot and if it becomes a problem the user
> comments can just be removed.

I'd suggest vetting user comments before posting them on the docs page,
but that would mean requiring forumites to allocate yet more of their
copious free time to the task. ;-)


T

-- 
Жил-был король когда-то, при нём блоха жила.


More information about the Digitalmars-d mailing list