More D newb questions.
BCS
BCS at pathlink.com
Wed May 7 08:40:55 PDT 2008
terranium wrote:
> Me Here Wrote:
>
>
>> junk.d(8): Error: Can only concatenate arrays, not (int ~ int)
>>
>>which is silly. There's no technical reason for not allowing this.
>
>
> This is not silly. This is what called a strongly typed language.
That's kind of orthogonal. A strongly type language could very well
allow the concatenation of 2 chars into a char[]. However I would expect
to see it more often in weakly typed languages.
More information about the Digitalmars-d
mailing list