Arrays - Inserting and moving data

Marco Leise Marco.Leise at gmx.de
Fri Feb 10 04:32:56 PST 2012


Am 09.02.2012, 22:03 Uhr, schrieb MattCodr <matheus_nab at hotmail.com>:

> On Thursday, 9 February 2012 at 19:49:43 UTC, Timon Gehr wrote:
>> Note that this code does the same, but is more efficient if you don't  
>> actually need the array:
>
> Yes I know, In fact I need re-think the way I code with this new  
> features of D, like ranges for example.
>
> Thanks,
>
> Matheus.

I know that feeling. I had no exposure to functional programming and  
options like chain never come to my head. Although "map" is a concept that  
I made friends with early.


More information about the Digitalmars-d-learn mailing list