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

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Wed May 21 06:46:20 PDT 2014


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


More information about the Digitalmars-d mailing list