[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Too much power? was RE: [xml-dev] 2007 Predictions
- From: Elliotte Harold <elharo@metalab.unc.edu>
- To: noah_mendelsohn@us.ibm.com
- Date: Mon, 22 Jan 2007 10:53:34 -0500
noah_mendelsohn@us.ibm.com wrote:
> My reading is that the Rule of Least Power says that both of these are
> just dandy, presuming that the lists are in both cases represented in some
> simple declarative format such as XML, JSON, or even structured plain
> text. The rule doesn't comment at all on the differences between the
> shorter and the more detailed list mentioned above, and presumably the 2nd
> option is more useful to a broader range of users.
>
Actually JSON is a tricky border case for the rule of least power. JSOM
is fine if and only if it's passed to an evalJSON() function that parses
the JSON as data. It is not OK (i.e. not least power) if it's passed to
an eval() function that merely evaluates the JSON as JavaScript code.
--
Elliotte Rusty Harold elharo@metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]