jvanasco wrote: >first, forgive for making perl references - i don't know of any python >modules like this to speak of -- but i've always liked looking at >seemingly good ideas from one language and seeing how they'd work in >another. > >a- look at STAN in twisted python. personally i hate it. (also, it >doesn't do classes) but its python data structure -> xml. > > I did glance at STAN, the example horrified me
>b- that looks something like XML::Simple in perl > > I've never used perl, so no comment. >c- wouldn't it be nicer as: > >feed = new rss( title='foo' ) >feed.addChannel( title='bar', description='baz',...) > >which would be identical to > >feed = new rss( title = foo) > >c1 = new rssChannel ( title='bar', description='baz'...) >feed.addChannel( c1 ) > > This is exactly what I want to *avoid* I've used this style many times, I've even implemented it. This is how things have to be done in other languages *ehm*PHP*ehm*. Python provides the option for a better, more expressive way. >in perl there's data ical , which has something similar >http://search.cpan.org/~jesse/Data-ICal-0.07/lib/Data/ICal/Entry.pm > > Sean --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

