[phobos] std.ctype vs std.string

Walter Bright walter at digitalmars.com
Mon May 23 00:30:44 PDT 2011



On 5/22/2011 10:25 PM, Jonathan M Davis wrote:
>
> Would anyone be opposed to my moving the pieces of std.string which are
> similar to std.ctype's functionality (hexdigits, letters, whitespace, iswhite,
> etc.) into std.ctype and fixing the std.ctype functions so that they're names
> are properly camelcased and return bool (obviously, I'd leave in the old stuff
> as scheduled for deprecation)?
>
>

I understand the sentiment, but I don't like breaking existing code. It really 
annoys people who have to go back and constantly rename things in their 
production code.


More information about the phobos mailing list