From: David Abrahams (dave_at_[hidden])
Date: 2007-07-12 18:12:05
on Thu Jul 12 2007, "Peter Dimov" <pdimov-AT-pdimov.com> wrote:
>>> You're optimizing the wrong case
>> I don't know about that. The kind of interface used above has become
>> very popular in the Python world... because it's useful. It may not
>> cover the entire domain of XML manipulations well, but it does cover
>> an important corner.
> Maybe it is, maybe it does. But you are still optimizing the wrong case;
> horrible procedural code for creating a toy XML.
I don't understand what you're objecting to. The XML schema being
generated is not realistic?
> Now, if you find the code I posted horrible, that'd be another
> matter. :-)
Well, I didn't understand the point you were trying to make, whereas
(of course) I find my own code immediately understandable. Not being
able to understand the code is one form of horror ;-)
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com The Astoria Seminar ==> http://www.astoriaseminar.com
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk