Walter Bright wrote:
Kagamin wrote:
Of what type will strings be?

immutable(char)[]

I've always wondered: Why are strings of type immutable(char)[], and not immutable(char[])?

I mean, there is no point in allowing resizing of strings, when assigning to the new elements is impossible.

-Lars

Reply via email to