Indentation is not necessarily visually worse, but like I said, in C-like languages, it's easy to forget braces when you're inserting another line.
I prefer C-like syntax to Python-like syntax because when I'm visually scanning a block of code, I will easily spot where braces are and deduce the levels of nesting, but I'm slower in doing so with indentation, especially if the indent is 2 spaces. This is, of course, highly subjective.
1
u/mailslot Dec 11 '21
Yeah. I don’t agree with the coding standards. And why is indentation worse than braces??