Okay, what happened to my literal strings?

Walter Bright newshound1 at digitalmars.com
Thu Sep 6 14:42:53 PDT 2007


Kirk McDonald wrote:
> Using 'string' is highly recommended.

I agree, for multiple reasons:

1) it is backward compatible with D 1.0
2) it is forward compatible in case we need to redesign const
3) it reads nicer

Use char[] only if you specifically require a mutable string.



More information about the Digitalmars-d mailing list