eliminate junk from std.string?

Nick Sabalausky a at a.a
Tue Jan 11 10:01:22 PST 2011


"Andrei Alexandrescu" <SeeWebsiteForEmail at erdani.org> wrote in message 
news:igi18o$e5e$2 at digitalmars.com...
> On 1/11/11 6:34 AM, Ary Borenszweig wrote:
>> Oh, one more thing: can the names be consistent?
>>
>> inpattern
>> countChars
>> expandtabs
>> chompPrefix
>> toupper
>> toupperInPlace ??
>>
>> If this can't be done for backwards compatibility maybe you can make 
>> alias for the
>> previous ones.
>
> The names are for compatibility with... other languages :o|.
>

Would that other language be Walterish or C?

If C, it's not like using the wrong case will suddendly change the semantics 
of the function. And if the worry is other non-phobos functions that might 
have the old C-style name (but different semantics), then Ary's suggestion 
of compatibly-named alases would take care of that.




More information about the Digitalmars-d mailing list