Good name for f.byLine.map!(x => x.idup)?

Chris via Digitalmars-d digitalmars-d at puremagic.com
Wed May 21 07:26:32 PDT 2014


On Wednesday, 21 May 2014 at 13:46:21 UTC, bearophile wrote:
> Chris:
>
>> byLineAsString
>>
>> In my own APIs I usually use "AsString" in the signature to 
>> make it clear what you'll get, if an entity can take many 
>> forms (an array of strings, user defined types). In other 
>> cases toString().
>>
>> byLineToString
>>
>> ?
>
> The accepted name was byLineCopy :-)
>
> Bye,
> bearophile

Ok, that's a good name. I couldn't read the whole thread. 
Sometimes I can't keep up with all the messages.


More information about the Digitalmars-d mailing list