[Home] [By Thread] [By Date] [Recent Entries]
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] |

Cart



