RFC on range design for D2
Bill Baxter
wbaxter at gmail.com
Mon Sep 8 21:16:17 PDT 2008
On Tue, Sep 9, 2008 at 1:06 PM, Andrei Alexandrescu
<SeeWebsiteForEmail at erdani.org> wrote:
> Manfred_Nowak wrote:
>>
>> Andrei Alexandrescu wrote:
>>
>>> maybe "nextTo" or something could be more suggestive.
>>
>> r.tillBeg(s), r.tillEnd(s),
>> r.fromBeg(s), r.fromEnd(s) ?
>
> Sounds good! Walter doesn't like abbreviations, so probably *Begin would
> please him more.
But till and until are synonyms. They both sound like iteration.
Although it might be unavoidable since all prepositions that give a
destination seem to imply going to that destination. till, until,
toward, to, up to, etc. So might as well go with the shortest one,
"to".
r.toBegin(s), r.toEnd(s)
r.fromBegin(s), r.fromEnd(s)
--bb
More information about the Digitalmars-d-announce
mailing list