The Thermopylae excerpt of TDPL available online

Ellery Newcomer ellery-newcomer at utulsa.edu
Thu Oct 29 13:18:09 PDT 2009


Andrei Alexandrescu wrote:
> Ellery Newcomer wrote:
>> Andrei Alexandrescu wrote:
>>> Ellery Newcomer 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!
>>>>>
>>>>>
>>>>> Andrei
>>>> Maybe I haven't been paying attention lately, but shouldn't
>>>>
>>>> assert(x == 0)
>>>>
>>>> be
>>>>
>>>> assert(x[] == 0)
>>>>
>>>> ?
>>> Where does the former occur?
>>>
>>> Thanks,
>>>
>>> Andrei
>>
>> top of page 102
> 
> Thanks. Notice that x is an integer because it was fetched as array[5].
> 
> Andrei

Oh wow. I'm dyslexic.


More information about the Digitalmars-d-announce mailing list