Future standard GUI library

88888 Dihedral dihedral88888 at gmail.com
Tue May 28 05:40:40 EDT 2013


Chris Angelico於 2013年5月28日星期二UTC+8下午3時11分55秒寫道:
> On Tue, May 28, 2013 at 9:10 AM, Roy Smith <roy at panix.com> wrote:
> 
> > In article <mailman.2265.1369693294.3114.python-list at python.org>,
> 
> >  Chris Angelico <rosuav at gmail.com> wrote:
> 
> >
> 
> >> I'll use XML when I have to, but if I'm inventing my own protocol,
> 
> >> nope. There are just too many quirks with it. How do you represent an
> 
> >> empty string named Foo?
> 
> >>
> 
> >> <Foo></Foo>
> 
> >>
> 
> >> or equivalently
> 
> >>
> 
> >> <Foo/>
> 
> >>
> 
> >> How do you represent an empty list named Foo? The same way. How do you
> 
> >> represent an empty dict/mapping named Foo? Lemme look up my
> 
> >> documentation... ah, the same way. Does this seem right to
> 
> >> you?</JubalEarly>
> 
> >
> 
> > XML doesn't represent strings, or lists, or dicts.  It represents trees
> 
> > of nodes with labels.  If you wish to invent some richer semantic
> 
> > meaning to impose on those nodes, that's up to you.
> 
> 
> 
> Sure it doesn't, but it's very often used that way. So I guess what
> 
> I'm really saying is that XML is wrong for 90% of the places it's
> 
> used.
> 
> 
> 
> ChrisA

Please check the annual sales in Ebay or similar sites  and the 
advertizement fees collected by Google and Yahoo.








More information about the Python-list mailing list