Re: [Boost-users] Is it a good style about boost::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

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@firstinvestors.com> 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
participants (2)
-
james.jonesīŧ firstinvestors.com
-
Shams