string types: const(char)[] and cstring

Myron Alexander someone at somewhere.com
Mon May 28 04:42:59 PDT 2007


Oskar Linde wrote:
> Which would be very confusing. This is instead a perfect opportunity to 
>  take the *much* better path of finally depreciating the .sort and 
> .reverse "properties". Equally good or better library implementations 
> are possible (and exists). For example, .sort can't take an ordering 
> predicate. Also, the special casing of reversing char[] and wchar[] 
> arrays, preserving the encoded unicode code points is definitely (imho) 
> too specialized to belong in the language (runtime) as opposed to a 
> library.
> 
> / Oskar

I see your point and agree.

Regards,

Myron.



More information about the Digitalmars-d-announce mailing list