[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Too much power? was RE: 2007 Predictions
noah_mendelsohn@u... 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@m... 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] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|