Re:An Object is not a Hash
by zachrose on Tuesday October 09, 2012 @02:25AM
(#4630268)
JS has two kinds of problems: the kinds of problems like a single number class, and the kinds of problems like implicit global scope. The latter are solved by reading JavaScript: The Good Parts and/or writing CoffeeScript. The former is a result of an idiotically simple core of the language, but also because nobody is clamoring for it. As a trade-off, though, you get JSON!
[ Parent
| on HN ]
Re:An Object is not a Hash
by icebraining on Tuesday October 09, 2012 @05:48AM
(#4630716)
How is JSON a benefit from a single number class? Python has integers and floats, yet JSON syntax is (almost) valid Python code, including the numbers.