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

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Mar 16 11:29:12 PDT 2014


On 3/16/14, 11:20 AM, HeiHon wrote:
> On Sunday, 16 March 2014 at 17:51:31 UTC, Andrei Alexandrescu
> wrote:
>> On 3/16/14, 10:49 AM, bearophile wrote:
>>> "byDupLines"
>>
>> It introduces the notion of "dup" to newbies. I'd rather go with a
>> natural name.
>>
>
> If the newbie already knows that there is a difference between
> byLine and byLineWhatever doesn't s/he already know about the
> concept of dup?

Depends on the situation. Consider a D tutorial. It would feature little 
programs like "copy a file" or "put each line in a hashtable" etc.

> Anyway
> byLineCopy or
> byLineCopied
> sounds natural for me (native german).

Thanks.


Andrei



More information about the Digitalmars-d mailing list