|
|
|
|
|
by iainmerrick
2919 days ago
|
|
none of your examples actually resemble valid config files Neither does the YAML one? So? you’re forcing them all to have the same indentation I don’t know about you, but I always pretty-print JSON, just like I always indent my code no matter which language I’m using. In fact that’s one of the arguments in favour of significant whitespace -- you’re going to be indenting anyway, so why bother with the brackets? It’s not an argument everyone buys, but everyone still indents their code. |
|
Because brackets are explicit. Whitespace is implicit and difficult to distinguish without editor support.