1101
Solutions? Where we're going, we don't need solutions.
(lemmy.world)
Post funny things about programming here! (Or just rant about your favourite programming language.)
I agree, whether or not it is good or bad, or readability concerns over nested braces. I fundamentally hate invisible delimiters. If it matters, make it visible. We have so many ascii characters, why not just borrow a few?
Indentation is visible, and much more so than braces.
Whitespace is not visible. It is the absence of something that is visible. Whitespace should be used for the comfort of the reader, not to determine scope. Are you proposing that a " " character is more visible than "{}"? The fact I must quote it to make what I am discussing even apparent speaks for itself. I'm not arguing that indentation is bad, far from it. In fact, the flexibility of using indentation purely for readability, makes code more readable.
I said that indentation is visible, not that whitespace is visible. Can you not tell when a line starts more to the right than the line above it?
If the code is correctly indented anyway, what’s the point of braces? And if it’s not indented correctly, are you going to read it the same way as the compiler?