std.uni.toLowerCase / .toUpperCase

Andrew Gough via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 24 20:17:12 PDT 2015


On Thursday, 25 June 2015 at 03:15:58 UTC, Andrew Gough wrote:
> On Tuesday, 23 June 2015 at 22:58:32 UTC, Vladimir Panteleev 
> wrote:
>> On Tuesday, 23 June 2015 at 22:45:10 UTC, Vladimir Panteleev 
>> wrote:
>>> A rename can be proposed by creating a subthread: [...]
>>
>> Rationale:
>>
>> As with setExt, std.uni already contains functions called 
>> toLower/toUpper, thus the only difference in name is that the 
>> implied word "Case" is omitted. The distinction is not 
>> memorable.
>>
>> Proposed new name: lowerCased / upperCased
>
> I love painting bike sheds!
>
> An eager version implies present tense: split, join etc
>
> A lazy version implies future tense: willSplit, willJoin, etc

And hence: willUpperCase, willLowerCase


More information about the Digitalmars-d mailing list