Live data from Hacker News

Why is JSON so popular? Developers want out of the syntax business

stereolambda.wordpress.com

1–10 of 120 posts

Re: Why is JSON so popular? Developers want out of the syntax business

#3
There are so many cool things you can do with JSON. I just created a boolean logical statement builder on a web page by using free form open and close parenthesis, and and/or radio buttons. A little regex to change the parenthesis into square brackets, then an eval(), and I can walk the whole statement recursively.

Re: Why is JSON so popular? Developers want out of the syntax business

#7

Well JSON also lets you get around browsers' same-domain policy without having to set up a proxy, which I think might be more important.

if you are talking about JSONp: JSON is by no means required to do that. You could in theory easily pass a string containing XML to the callback function.

Re: Why is JSON so popular? Developers want out of the syntax business

#9
post #6
post #4

As one of the earlier commenters pointed out, lisp welcomes you to the 1960s.

Sorry we were late to the party, guys, we just got so wrapped up in writing software that people actually use.

... while the lispers where still counting the closing parens needed to finally get their code running

SCNR

Re: Why is JSON so popular? Developers want out of the syntax business

#10
post #9
post #6

Earlier quoted context omitted.

Sorry we were late to the party, guys, we just got so wrapped up in writing software that people actually use.

... while the lispers where still counting the closing parens needed to finally get their code running SCNR

Only the ones too clueless to use Emacs or another editor that does it for you.
Post reply on HN