News for hackers. Stuff that matters.
Re:Hjson, the Human JSON by TranquilMarmot on Thursday April 14, 2016 @03:46PM (#11499780)
From hjson.org:

"YAML expresses structure through whitespace. Significant whitespace is a common source of mistakes that we shouldn't have to deal with."

Re:Hjson, the Human JSON by jholman on Thursday April 14, 2016 @03:58PM (#11499863)
Okay, does anyone actually believe that causes a problem?

I can think of ONE time when that causes a problem, and that's with indentation with multi-line strings. Oh look, HJSON included that feature. That's like throwing the baby out and keeping all the bathwater.

Re:Hjson, the Human JSON by gboone42 on Thursday April 14, 2016 @06:32PM (#11500825)
I can't find a specific example off the top of my head but I'll say I've been managing a Jekyll site for a while now and whitespace errors in frontmatter and data files cause all kinds of problems. I'm not sure I could explain the details but it's a legit criticism of YAML. IMO part of the problem is that YAML looks very straightfowrard and is until it suddenly isn't. Whitespace is part of that problem.
Re:Hjson, the Human JSON by kaishiro on Friday April 15, 2016 @12:36AM (#11502190)
As an anecdote on the flip side, I've been building Middleman sites for a while now and can't remember ever having an issue with whitespace in the front matter or local data.
Re:Hjson, the Human JSON by BobTheCoder on Friday April 15, 2016 @12:18AM (#11502111)
Yeah I'm with you. Developers should have no problem dealing with whitespace and the result is you get a easier to read format.

Although admittedly I haven't had to work with YAML a lot but I have liked it when i've touched it.