News for hackers. Stuff that matters.
Re:JSON5 is a proposed extension to JSON by comex on Sunday March 02, 2014 @02:02AM (#7328067)
YAML looks nice, but it's very overcomplicated for what it's usually used for [1]. Nobody wants to figure out what %TAG directives or "|", "|-", and "|+" at the end of lines mean, the difference between the folded style and the literal style, etc. just to read a configuration file.

I don't like JSON either due to the comment issue; simple ad-hoc configuration formats like most C programs seem to have mostly work, but aren't as nice as a standard format. If anything, I like configuration files expressed as scripts in whatever language the program is written in, since they're very flexible (if I want 100 almost-identical entries for whatever reason, I can say so in the file rather than writing a separate generator), and while programming languages are complicated, people tend to already know them; but that does tie you to a specific language.

[1] http://www.yaml.org/spec/1.2/spec.html

Re:JSON5 is a proposed extension to JSON by stormbrew on Sunday March 02, 2014 @04:17AM (#7328410)
I think this is an entirely valid criticism of yaml. I'd absolutely support there being a simplified form of yaml (YAML The Good Parts?) that covers what people actually want to do and doesn't try to be a swiss army knife object serialization format.
Re:JSON5 is a proposed extension to JSON by Ygg2 on Sunday March 02, 2014 @06:26AM (#7328724)
Problem is people don't agree on Good Parts. People seem to think keeping YAML a superset of JSON is the good part. I'd think otherwise.

Anyway, http://ogdl.org/ is one candidate for YTGP (YAML The good parts) but it's comments can carry metadata, which is a huge turn-off, others think TOML (https://github.com/mojombo/toml) is a good replacement, but it has no support for alternate number types. You write in something like

   mask = 0xDEADBEEF 
into something like

   mask = 3735928559
Re:JSON5 is a proposed extension to JSON by philwelch on Sunday March 02, 2014 @07:39AM (#7328935)
Ideally you would have a strict subset of YAML rather than a totally different language for compatibility reasons. You can call it the Friendly, Readable, Declarative YAML standard so we can have a standards war that is FRDY vs. JSON.
Re:JSON5 is a proposed extension to JSON by Ygg2 on Sunday March 02, 2014 @08:29AM (#7329076)
That movie was horrible :P Would not like to watch again.
Re:JSON5 is a proposed extension to JSON by stormbrew on Sunday March 02, 2014 @04:10PM (#7330778)
Hah. I love it.