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

Regan Heath regan at netmail.co.nz
Wed Mar 19 04:47:15 PDT 2014


On Tue, 18 Mar 2014 15:03:16 -0000, Dicebot <public at dicebot.lv> wrote:

> On Tuesday, 18 March 2014 at 14:57:30 UTC, Regan Heath wrote:
>> Why this fixation on "by"?
>>
>> lines
>> allLines
>> eachLine
>> everyLine
>>
>> R
>
> range vs container. I expect file.lines to be separate fully allocated  
> entity that can be assigned and stored. file.byLines implies iteration  
> without any guarantees about collection as a whole.

So "by" has come to signify "range" then?

"eachLine" does not imply a container but an iteration/range..

R

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


More information about the Digitalmars-d mailing list