string types: const(char)[] and cstring

Walter Bright newshound1 at digitalmars.com
Sun May 27 12:13:04 PDT 2007


Anders F Björklund wrote:
> When using Java (and Objective-C), I've found it very useful that 
> strings (and others) are immutable since they are then thread-safe.

Being able to treat strings as value types is where the big 
simplification (in user code) comes, and invariant strings should do that.



More information about the Digitalmars-d-announce mailing list