Boost logo

Boost Users :

From: Shams (shams_at_[hidden])
Date: 2006-10-14 01:30:51


Hi,

You might want to look at the "current" discussion in boost.devel regarding
super_string, which internally uses boost.format but it allows you to do

something like:

super_string s;
s.format("%1% %2%", int(10), float(10.20));

Thanks
Shams

----- Original Message -----
From: <james.jones_at_[hidden]>
Newsgroups: gmane.comp.lib.boost.user
Sent: Saturday, October 14, 2006 5:16 AM
Subject: Re: Is it a good style aboutboost::format(format-string) % arg1 %
arg2 % ... % argN

>I wrote:
>> I don't think it is or should be a primary design goal of programming in
>> any
>> language to make things easy for beginners. There are all sorts of more
>> important goals that come first.
>
> Reading this over again I don't think I said this very well.
>
> What I mean is: It's good if the programming *language* makes things
> somewhat easy for beginners, or else we'll never get beginners. You can't
> be a master without at some point being a beginner.
>
> However, that doesn't mean that any particular library needs to be coded
> in such a way as to be understandable by beginners. Good libraries are
> often going to use powerful, advanced features of the language that
> beginners won't understand.
>
> ISUN,
> -
> James Jones Administrative Data Mgmt.
> Webmaster 375 Raritan Center Pkwy, Suite A
> Data Architect Edison, NJ 08837


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net