Re:YAML: Probably not so great after all
by otabdeveloper4 on Monday August 19, 2019 @04:21AM
(#20735909)
> If I pinky promise to indent my code anyway, then why does it matter whether I also have braces or not?
Without braces copy-pasting becomes a context-sensitive headache. That's poor usability.
Braces also allow for easily copying and pasting blocks of code because the braces delimit the semantics of the copied text. Because your code is already indented, with white space indentation you have to check that a) you pasted the first line at the right indentation level b) every subsequent line is also at the right level relative to the first line. No small feat.