|
|
|
|
|
by BeetleB
2746 days ago
|
|
Fair enough. I save on keystrokes by not inserting braces. I do have to manually indent once in a while, but the editor will usually figure out what I mean. As an example, in a for loop in Python, I need to press a single key for indenting[1]. In a language like C, it would be 4 keystrokes - 2 for each brace. Come to think of it, this is true for if conditions, functions, etc. Pretty much all places you'd need braces in C. I'm having trouble figuring out where in regular programming in Python a braces would mean less work for the programmer. Indenting is simply less work than inserting braces. [1]Strictly speaking, for dedenting when I'm done with the for loop. |
|
In the end you get used to almost everything.