Boost logo

Boost :

From: Keith Burton (kb_at_[hidden])
Date: 2001-12-23 12:49:28


Sorry I was unclear

most long expressions contain many ()s but not many contain %
therefore it is easier to see what is each parameter

----- Original Message -----
From: "edbrey" <edbrey_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Sunday, December 23, 2001 2:23 PM
Subject: [boost] Re: Review request : format

> --- In boost_at_y..., "Kei--- In boost_at_y..., "Keith Burton" <kb_at_x> wrote:
> > I agree that it looks fine when used as in the example but
> > I believe the operator based format wins when long lines are
> > required
> >
> [Example snipped because email reformatting did it in.]
>
> Could you please elaborate on what you see as a signficant
> readability difference between the following two syntaxes:
>
> cout << format("..........%1.............
> .............%2..........")
> % long_expressoin......................
> ..............1
> % long_expressoin......................
> ..............2;
>
> and
>
> cout << format("..........%1............
> .............%2..........")
> (long_expressoin......................
> ..............1)
> (long_expressoin......................
> ..............2);
>
> I'd quite surprised if either syntax took more than just a bit
> of playing around to make any given format expression quite readable.
>
>
> Info: http://www.boost.org Send unsubscribe requests to:
<mailto:boost-unsubscribe_at_[hidden]>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk