|
Boost : |
Subject: Re: [boost] [SPAM (Bayesian)] - Re: Formal Review: Boost.RangeEx - Bayesian Filter detected spam
From: David Abrahams (dave_at_[hidden])
Date: 2009-03-02 10:23:24
on Mon Mar 02 2009, Arno Schödl <aschoedl-AT-think-cell.com> wrote:
>> One doesn't usually combine lazy and immediate algorithms, right, no?
>> I think I'd rather see something like:
>>
>> {
>> using range_ex::transform; // immediate
>> transform(s, f);
>> }
>>
>> {
>> using range_ex::view::transform;
>> transform(s, f);
>> }
>
> I think lazy algorithms should be different in non-qualified name from the eager ones,
> so that dumb text searches work and casually glancing at the code tells the right
> story.
s = s | transform(f)
vs
transform(s, f, s)
I think the difference is quite obvious and the syntax needs no elaboration.
-- Dave Abrahams BoostPro Computing http://www.boostpro.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk