The Thermopylae excerpt of TDPL available online

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Oct 29 11:55:58 PDT 2009


Tom S wrote:
> Andrei Alexandrescu wrote:
>> It's a rough rough draft, but one for the full chapter on arrays, 
>> associative arrays, and strings.
>>
>> http://erdani.com/d/thermopylae.pdf
>>
>> Any feedback is welcome. Thanks!
> 
> Thanks for the excerpt! I've only had the time to give it a brief skim 
> so far, but it's looking good. This is what I found:
> 
> p16: int quadrupeds[100], int legs[4 * quadrupeds.length]  <-  is the 
> C-style array declaration syntax intended?

Thanks, fixed.

> p20: No mention of the "new T[][](rows, cols)" syntax?

Oops, completely forgot about that one.

> p26 (User-Defined Types as Keys): No need for opEquals?

There currently is, but there shouldn't and it won't.


Andrei


More information about the Digitalmars-d-announce mailing list