tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: proplist

> Ugliness is highly subjective.  This form can be considered ugly
> because it has a lot of completely extraneous double quotes.  For
> example.

Not completely extraneous.  _Something_ has to delimit strings, and
whether it's better to use " " or <long-string> <long-string/>
is...well, I suppose "highly subjective" about covers it.

>> In addition you don't need special tools to test whether the
>> expression is syntactically valid (it only needs to check that
>> parentheses are balanced, even vi-alikes support this operation),
> No, it looks like at a minimum it requires checking for matching
> quotes and for valid numbers.

True.  Plus whatever escaping is used for strings.

Not that it makes what you said incorrect, but this is really no worse
than the XMLalike analogs of those; if anything, it's easier, because
the quotes are much shorter and the way some characters quote others
makes mis-nesting (<foo><bar><foo/><bar/>) impossible.

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML      
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Home | Main Index | Thread Index | Old Index