Proposal: takeFront and takeBack

Roman D. Boiko rb at d-coding.com
Wed Jul 4 00:58:09 PDT 2012


On Wednesday, 4 July 2012 at 07:53:32 UTC, Roman D. Boiko wrote:
> On Wednesday, 4 July 2012 at 07:40:55 UTC, monarch_dodra wrote:
>> I'll propose "spendFront", which is pretty much the same 
>> thing, but is less loaded. I'm not entirely sure if it carries 
>> the meaning as well? I think it is a worth discussion.
>
> I'm not a native speaker, but I feel that "spend" would be a 
> wrong choice.
>
> fetchFront was proposed by Dmitry, which I like more than 
> spendFront, but slightly less than consumeFront.

Another option might be "readFront". That's somewhere in the 
middle amond "take", "consume" and "fetch"...


More information about the Digitalmars-d mailing list