Re:Why are we templating YAML?
by krapp on Thursday February 07, 2019 @05:20PM
(#19109181)
A misplaced comma is also not a problem in an editor with syntax highlighting, but between the two, indentation could take longer to fix.
[ Parent
| on HN ]
Re:Why are we templating YAML?
by mixmastamyk on Thursday February 07, 2019 @05:25PM
(#19109240)
Syntax highlighting doesn't count commas. The problem is JSON doesn't allow trailing commas, so adding or reordering frequently results in a difficult to diagnose error.
Finding out if a set ends in a comma or not still makes it easier to debug than YAML.
Re:Why are we templating YAML?
by mixmastamyk on Thursday February 07, 2019 @05:46PM
(#19109428)
Not my experience, 10x more trouble with long JSON.