Dynamic arrays

Steven Schveighoffer via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Aug 31 14:45:26 PDT 2015


On 8/31/15 5:09 PM, Minas Mina wrote:
> I have started a series of tutorials in D.
>
> This is my latest blog post, which is about dynamic arrays:
> http://minas-mina.com/2015/08/31/dynamic-arrays/
>
> Constructive criticism is welcome.

Technical difference, in an array layout, length comes first, then pointer.

shrinked -> shrunk.

string is an alias for immutable(char)[], not immutable(char[]). The 
parentheses placement is crucial (one can be reassigned, one cannot).

Nice article!

-Steve


More information about the Digitalmars-d-announce mailing list