Thread overview | ||||||
---|---|---|---|---|---|---|
|
May 12, 2004 Short Frequent Answers | ||||
---|---|---|---|---|
| ||||
I created a short frequent answers list: http://www.prowiki.org/wiki4d/wiki.cgi?ShortFrequentAnswers It's basicly a list of common answers in a very short form, the accelerated learning of D. Can you think of any other short common answers that would be useful. -- -Anderson: http://badmama.com.au/~anderson/ |
May 12, 2004 Re: Short Frequent Answers | ||||
---|---|---|---|---|
| ||||
Posted in reply to J Anderson | J Anderson wrote:
> I created a short frequent answers list:
>
> http://www.prowiki.org/wiki4d/wiki.cgi?ShortFrequentAnswers
>
> It's basicly a list of common answers in a very short form, the accelerated learning of D.
>
> Can you think of any other short common answers that would be useful.
Good idea!
Anyhow:
"Arrays (strings) are a length followed by the elements."
This sounds more like Pascal-strings than like D-strings. If you want to avoid going into details (which, of course, is reasonable at that point) it should be enough to say
"Strings are not null-terminated, but hold explicit length information. Therefore..."
|
May 12, 2004 Re: Short Frequent Answers | ||||
---|---|---|---|---|
| ||||
Posted in reply to Norbert Nemec | Norbert Nemec wrote: >J Anderson wrote: > > > >>I created a short frequent answers list: >> >>http://www.prowiki.org/wiki4d/wiki.cgi?ShortFrequentAnswers >> >>It's basicly a list of common answers in a very short form, the >>accelerated learning of D. >> >>Can you think of any other short common answers that would be useful. >> >> > >Good idea! > >Anyhow: >"Arrays (strings) are a length followed by the elements." > >This sounds more like Pascal-strings than like D-strings. If you want to >avoid going into details (which, of course, is reasonable at that point) it >should be enough to say > >"Strings are not null-terminated, but hold explicit length information. >Therefore..." > > Thanks. It's a wiki so you can make change like this yourself (well that's the idea). -- -Anderson: http://badmama.com.au/~anderson/ |
May 12, 2004 Re: Short Frequent Answers | ||||
---|---|---|---|---|
| ||||
Posted in reply to Norbert Nemec | Norbert Nemec wrote:
> J Anderson wrote:
>
>> I created a short frequent answers list:
>>
>> http://www.prowiki.org/wiki4d/wiki.cgi?ShortFrequentAnswers
>>
>> It's basicly a list of common answers in a very short form, the accelerated learning of D.
>>
>> Can you think of any other short common answers that would be useful.
>
> Good idea!
>
> Anyhow:
> "Arrays (strings) are a length followed by the elements."
>
> This sounds more like Pascal-strings than like D-strings. If you want to avoid going into details (which, of course, is reasonable at that point) it should be enough to say
>
> "Strings are not null-terminated, but hold explicit length information. Therefore..."
Or it can say what the D spec says:
"Dynamic arrays contain a length and a garbage collected pointer to the
array data. "
|
Copyright © 1999-2021 by the D Language Foundation